* [PATCH] ARM: mmp: fix cpuid detection on mmp2
@ 2010-10-29 3:32 Haojian Zhuang
2010-10-29 13:48 ` eric.y.miao at gmail.com
2010-11-03 11:18 ` Sergei Shtylyov
0 siblings, 2 replies; 3+ messages in thread
From: Haojian Zhuang @ 2010-10-29 3:32 UTC (permalink / raw)
To: linux-arm-kernel
Fix typo error on cpu_is_mmp2(). Correct cpu_readid_id() to read_cpuid_id().
Append missing 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
--
1.5.6.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] ARM: mmp: fix cpuid detection on mmp2
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
1 sibling, 0 replies; 3+ messages in thread
From: eric.y.miao at gmail.com @ 2010-10-29 13:48 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Oct 29, 2010 at 11:32 AM, Haojian Zhuang
<haojian.zhuang@marvell.com> wrote:
> Fix typo error on cpu_is_mmp2(). Correct cpu_readid_id() to read_cpuid_id().
> Append missing parenthesis.
>
> Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
> Cc: Eric Miao <eric.y.miao@gmail.com>
Merged.
> ---
> ?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
> --
> 1.5.6.5
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] ARM: mmp: fix cpuid detection on mmp2
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
1 sibling, 0 replies; 3+ messages in thread
From: Sergei Shtylyov @ 2010-11-03 11:18 UTC (permalink / raw)
To: linux-arm-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-11-03 11:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.