summaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorLuis Alves <ljalvs@gmail.com>2013-02-14 21:18:34 +0000
committerGreg Ungerer <gerg@uclinux.org>2013-03-04 11:08:29 +1000
commit1a62fe8d1b26223abba31e9a81005d550822a1f8 (patch)
treed19cae4473a5af2f571c6f08b81c8ef35e71952f /arch/m68k
parent6dbe51c251a327e012439c4772097a13df43c5b8 (diff)
downloadop-kernel-dev-1a62fe8d1b26223abba31e9a81005d550822a1f8.zip
op-kernel-dev-1a62fe8d1b26223abba31e9a81005d550822a1f8.tar.gz
m68knommu: add CPU_NAME for 68000
This patch adds the correct CPU name. Without this, it just displays UNKNOWN at boot time and at '/proc/cpuinfo'. Signed-off-by: Luis Alves <ljalvs@gmail.com> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/kernel/setup_no.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/m68k/kernel/setup_no.c b/arch/m68k/kernel/setup_no.c
index 71fb299..911ba47 100644
--- a/arch/m68k/kernel/setup_no.c
+++ b/arch/m68k/kernel/setup_no.c
@@ -57,6 +57,9 @@ void (*mach_reset)(void);
void (*mach_halt)(void);
void (*mach_power_off)(void);
+#ifdef CONFIG_M68000
+#define CPU_NAME "MC68000"
+#endif
#ifdef CONFIG_M68328
#define CPU_NAME "MC68328"
#endif
OpenPOWER on IntegriCloud