From: Haojian Zhuang Date: Fri, 12 Mar 2010 13:51:54 +0000 (-0500) Subject: [ARM] pxa: fix the incorrect cpu_is_pxa950() X-Git-Tag: v2.6.34-rc7~13^2^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d2fec5df1631076ce1d27c61def201aabc31167;p=platform%2Fkernel%2Flinux-3.10.git [ARM] pxa: fix the incorrect cpu_is_pxa950() Fix the wrong variable used in cpu_is_pxa950(). Signed-off-by: Haojian Zhuang Signed-off-by: Eric Miao --- diff --git a/arch/arm/mach-pxa/include/mach/hardware.h b/arch/arm/mach-pxa/include/mach/hardware.h index 7515757..3d8d8cb 100644 --- a/arch/arm/mach-pxa/include/mach/hardware.h +++ b/arch/arm/mach-pxa/include/mach/hardware.h @@ -202,7 +202,7 @@ #define __cpu_is_pxa950(id) \ ({ \ unsigned int _id = (id) >> 4 & 0xfff; \ - id == 0x697; \ + _id == 0x697; \ }) #else #define __cpu_is_pxa950(id) (0)