From: Luis Alves Date: Thu, 14 Feb 2013 21:18:34 +0000 (+0000) Subject: m68knommu: add CPU_NAME for 68000 X-Git-Tag: v3.9-rc3~30^2~4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1a62fe8d1b26223abba31e9a81005d550822a1f8;p=karo-tx-linux.git 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 Signed-off-by: Greg Ungerer --- diff --git a/arch/m68k/kernel/setup_no.c b/arch/m68k/kernel/setup_no.c index 71fb29938dba..911ba472e6c4 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