summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2010-01-04 14:44:42 +0800
committerEric Miao <eric.y.miao@gmail.com>2010-01-04 14:44:42 +0800
commit0dfc84c9f54d8784f5bc6d303c079d88000ee5f7 (patch)
treec428a96e19f291d8f52e893ced78f99c2754a416 /arch/arm/mach-pxa
parent2d51a521e64f91e42424b291fcae49d4d3f63d88 (diff)
downloadblackbird-op-linux-0dfc84c9f54d8784f5bc6d303c079d88000ee5f7.tar.gz
blackbird-op-linux-0dfc84c9f54d8784f5bc6d303c079d88000ee5f7.zip
[ARM] pxa: fix compiler warnings of unused variable 'id' in cpu_is_pxa9*()
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r--arch/arm/mach-pxa/include/mach/hardware.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/arm/mach-pxa/include/mach/hardware.h b/arch/arm/mach-pxa/include/mach/hardware.h
index 50f1297bf5ac..e741bf1bfb2d 100644
--- a/arch/arm/mach-pxa/include/mach/hardware.h
+++ b/arch/arm/mach-pxa/include/mach/hardware.h
@@ -250,20 +250,17 @@
#define cpu_is_pxa930() \
({ \
- unsigned int id = read_cpuid(CPUID_ID); \
- __cpu_is_pxa930(id); \
+ __cpu_is_pxa930(read_cpuid_id()); \
})
#define cpu_is_pxa935() \
({ \
- unsigned int id = read_cpuid(CPUID_ID); \
- __cpu_is_pxa935(id); \
+ __cpu_is_pxa935(read_cpuid_id()); \
})
#define cpu_is_pxa950() \
({ \
- unsigned int id = read_cpuid(CPUID_ID); \
- __cpu_is_pxa950(id); \
+ __cpu_is_pxa950(read_cpuid_id()); \
})
OpenPOWER on IntegriCloud