[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>
This commit is contained in:
committed by
Eric Miao
parent
4157d317dc
commit
5d2fec5df1
@@ -202,7 +202,7 @@
|
|||||||
#define __cpu_is_pxa950(id) \
|
#define __cpu_is_pxa950(id) \
|
||||||
({ \
|
({ \
|
||||||
unsigned int _id = (id) >> 4 & 0xfff; \
|
unsigned int _id = (id) >> 4 & 0xfff; \
|
||||||
id == 0x697; \
|
_id == 0x697; \
|
||||||
})
|
})
|
||||||
#else
|
#else
|
||||||
#define __cpu_is_pxa950(id) (0)
|
#define __cpu_is_pxa950(id) (0)
|
||||||
|
Reference in New Issue
Block a user