Skip to contentSkip to conversation

pxa: fix the cpu_is_pxa950

PATCH New Haojian Zhuang 1 participant 1 message Mar 12, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pxa: fix the cpu_is_pxa950

Fix the wrong variable used in cpu_is_pxa950().

---
 arch/arm/mach-pxa/include/mach/hardware.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
(quoted diff) +0 -0

b/arch/arm/mach-pxa/include/mach/hardware.h
index 7515757..3d8d8cb 100644

arch/arm/mach-pxa/include/mach/hardware.h +1 -1
@@ -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)
Signature · 1 line
1.5.6.5