From: sshtylyov@mvista•com (Sergei Shtylyov)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH] ARM: mmp: fix cpuid detection on mmp2
Date: Wed, 03 Nov 2010 14:18:42 +0300 [thread overview]
Message-ID: <4CD14512.5000604@ru.mvista.com> (raw)
In-Reply-To: <1288323176-6970-1-git-send-email-haojian.zhuang@marvell.com>
Hello.
On 29-10-2010 7:32, Haojian Zhuang wrote:
> Fix typo error on cpu_is_mmp2(). Correct cpu_readid_id() to read_cpuid_id().
> Append missing parenthesis.
That's a brace, not parenthesis.
> Signed-off-by: Haojian Zhuang<haojian.zhuang@marvell•com>
> Cc: Eric Miao<eric.y.miao@gmail•com>
> ---
> arch/arm/mach-mmp/include/mach/cputype.h | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
> diff --git a/arch/arm/mach-mmp/include/mach/cputype.h b/arch/arm/mach-mmp/include/mach/cputype.h
> index f43a68b..8a3b56d 100644
> --- a/arch/arm/mach-mmp/include/mach/cputype.h
> +++ b/arch/arm/mach-mmp/include/mach/cputype.h
> @@ -46,7 +46,8 @@ static inline int cpu_is_pxa910(void)
> #ifdef CONFIG_CPU_MMP2
> static inline int cpu_is_mmp2(void)
> {
> - return (((cpu_readid_id()>> 8)& 0xff) == 0x58);
> + return (((read_cpuid_id()>> 8)& 0xff) == 0x58);
> +}
> #else
> #define cpu_is_mmp2() (0)
> #endif
WBR, Sergei
prev parent reply other threads:[~2010-11-03 11:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-29 3:32 [PATCH] ARM: mmp: fix cpuid detection on mmp2 Haojian Zhuang
2010-10-29 13:48 ` eric.y.miao at gmail.com
2010-11-03 11:18 ` Sergei Shtylyov [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=4CD14512.5000604@ru.mvista.com \
--to=sshtylyov@mvista$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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