Re: [PATCH] Add CPU_NAME for 68000

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Luis,

On 15/02/13 07:18, Luis Alves wrote:
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


Signed-off-by: Luis Alves <ljalvs@xxxxxxxxx>
---
  arch/m68k/kernel/setup_no.c |    3 +++
  1 file changed, 3 insertions(+)

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


--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux