Skip to contentSkip to conversation

Add CPU_NAME for 68000

PATCH In review Luis Alves 2 participants 2 messages Feb 14, 2013 – Feb 21, 2013

Subsystems (2)
lore
Share & tools
lore

Luis Alves

author
#0 lore raw

PATCH 1/1 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'.

Regards,
Luis

---
 arch/m68k/kernel/setup_no.c |    3 +++
 1 file changed, 3 insertions(+)
arch/m68k/kernel/setup_no.c +3 -0
index 71fb299..911ba47 100644
@@ -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
Signature · 9 lines
1.7.10.4

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
#1 lore raw

Hi Luis,

Quoted 2 lines · Luis Alves

This patch adds the correct CPU name.
Without this, it just displays UNKNOWN at boot time and at '/proc/cpuinfo'.

Thanks. I'll add this to the m68knommu git tree. Though you won't see it publicly until after the current 3.9 merge window closes.

Regards
Greg

Quoted 20 lines
---
  arch/m68k/kernel/setup_no.c |    3 +++
  1 file changed, 3 insertions(+)
arch/m68k/kernel/setup_no.c +3 -0
index 71fb299..911ba47 100644
@@ -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