Skip to content

Commit

Permalink
m68knommu: add CPU_NAME for 68000
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Luis Alves authored and Greg Ungerer committed Mar 4, 2013
1 parent 6dbe51c commit 1a62fe8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/m68k/kernel/setup_no.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a62fe8

Please sign in to comment.