[ARM] pxa: fix the incorrect cpu_is_pxa950()
authorHaojian Zhuang <haojian.zhuang@marvell.com>
Fri, 12 Mar 2010 13:51:54 +0000 (08:51 -0500)
committerEric Miao <eric.y.miao@gmail.com>
Thu, 6 May 2010 03:12:11 +0000 (11:12 +0800)
Fix the wrong variable used in cpu_is_pxa950().

Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/include/mach/hardware.h

index 7515757..3d8d8cb 100644 (file)
 #define __cpu_is_pxa950(id)                             \
        ({                                              \
                unsigned int _id = (id) >> 4 & 0xfff;   \
-               id == 0x697;                            \
+               _id == 0x697;                           \
         })
 #else
 #define __cpu_is_pxa950(id)    (0)