Browse Source

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>
Luis Alves 12 years ago
parent
commit
1a62fe8d1b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      arch/m68k/kernel/setup_no.c

+ 3 - 0
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