diff options
author | Haojian Zhuang <haojian.zhuang@marvell.com> | 2010-03-12 08:51:54 -0500 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2010-05-06 11:12:11 +0800 |
commit | 5d2fec5df1631076ce1d27c61def201aabc31167 (patch) | |
tree | 6b9ebb92d2ff090d5abbcb14f47042221b512ecf | |
parent | 4157d317dc20f12bee9944155fed399bbe38fae4 (diff) | |
download | linux-5d2fec5df1631076ce1d27c61def201aabc31167.tar.gz linux-5d2fec5df1631076ce1d27c61def201aabc31167.tar.bz2 linux-5d2fec5df1631076ce1d27c61def201aabc31167.zip |
[ARM] pxa: fix the incorrect cpu_is_pxa950()
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>
-rw-r--r-- | arch/arm/mach-pxa/include/mach/hardware.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |