From: Greg Ungerer <gerg@uclinux.org>
To: Luis Alves <ljalvs@gmail.com>
Cc: uclinux-dev@uclinux.org, linux-m68k@vger.kernel.org
Subject: Re: [PATCH] Add CPU_NAME for 68000
Date: Thu, 21 Feb 2013 23:27:25 +1000 [thread overview]
Message-ID: <512620BD.6050608@uclinux.org> (raw)
In-Reply-To: <1360876714-6675-1-git-send-email-ljalvs@gmail.com>
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
>
prev parent reply other threads:[~2013-02-21 13:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-14 21:18 [PATCH] Add CPU_NAME for 68000 Luis Alves
2013-02-21 13:27 ` Greg Ungerer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=512620BD.6050608@uclinux.org \
--to=gerg@uclinux.org \
--cc=linux-m68k@vger.kernel.org \
--cc=ljalvs@gmail.com \
--cc=uclinux-dev@uclinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox