projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dbe51c
)
m68knommu: add CPU_NAME for 68000
author
Luis Alves
<ljalvs@gmail.com>
Thu, 14 Feb 2013 21:18:34 +0000
(21:18 +0000)
committer
Greg Ungerer
<gerg@uclinux.org>
Mon, 4 Mar 2013 01:08:29 +0000
(11:08 +1000)
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>
arch/m68k/kernel/setup_no.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/m68k/kernel/setup_no.c
b/arch/m68k/kernel/setup_no.c
index 71fb29938dba260b6e5895c3d7eb5f10f2afbb16..911ba472e6c4abbd83dac862a561d98eb22526aa 100644
(file)
--- 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