From: Haojian Zhuang Date: Fri, 12 Mar 2010 13:51:54 +0000 (-0500) Subject: [ARM] pxa: fix the incorrect cpu_is_pxa950() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5d2fec5df1631076ce1d27c61def201aabc31167;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 7515757d6911..3d8d8cb09685 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)