m68knommu: add CPU_NAME for 68000
authorLuis Alves <ljalvs@gmail.com>
Thu, 14 Feb 2013 21:18:34 +0000 (21:18 +0000)
committerGreg Ungerer <gerg@uclinux.org>
Mon, 4 Mar 2013 01:08:29 +0000 (11:08 +1000)
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>
arch/m68k/kernel/setup_no.c

index 71fb299..911ba47 100644 (file)
@@ -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