OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d51a52
)
[ARM] pxa: fix compiler warnings of unused variable 'id' in cpu_is_pxa9*()
author
Eric Miao
<eric.y.miao@gmail.com>
Mon, 4 Jan 2010 06:44:42 +0000
(14:44 +0800)
committer
Eric Miao
<eric.y.miao@gmail.com>
Mon, 4 Jan 2010 06:44:42 +0000
(14:44 +0800)
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/include/mach/hardware.h
patch
|
blob
|
history
diff --git
a/arch/arm/mach-pxa/include/mach/hardware.h
b/arch/arm/mach-pxa/include/mach/hardware.h
index
50f1297
..
e741bf1
100644
(file)
--- 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()); \
})