[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 7515757d6911b152c249d32d7784bcbb61d769a1..3d8d8cb09685ca9113da07bb04ecf1f755ea71f2 100644 (file)
 #define __cpu_is_pxa950(id)                             \
        ({                                              \
                unsigned int _id = (id) >> 4 & 0xfff;   \
-               id == 0x697;                            \
+               _id == 0x697;                           \
         })
 #else
 #define __cpu_is_pxa950(id)    (0)