* [PATCH] Add CPU_NAME for 68000
@ 2013-02-14 21:18 Luis Alves
2013-02-21 13:27 ` Greg Ungerer
0 siblings, 1 reply; 2+ messages in thread
From: Luis Alves @ 2013-02-14 21:18 UTC (permalink / raw)
To: uclinux-dev, linux-m68k; +Cc: gerg
This patch adds the correct CPU name.
Without this, it just displays UNKNOWN at boot time and at '/proc/cpuinfo'.
Regards,
Luis
Signed-off-by: Luis Alves <ljalvs@gmail.com>
---
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
--
1.7.10.4
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Add CPU_NAME for 68000
2013-02-14 21:18 [PATCH] Add CPU_NAME for 68000 Luis Alves
@ 2013-02-21 13:27 ` Greg Ungerer
0 siblings, 0 replies; 2+ messages in thread
From: Greg Ungerer @ 2013-02-21 13:27 UTC (permalink / raw)
To: Luis Alves; +Cc: uclinux-dev, linux-m68k
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@gmail.com>
> ---
> 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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-21 13:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-14 21:18 [PATCH] Add CPU_NAME for 68000 Luis Alves
2013-02-21 13:27 ` Greg Ungerer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox