projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ff8094
)
x86, ipi: Clean up safe_smp_processor_id() by using the cpu_has_apic() macro helper
author
Cyrill Gorcunov
<gorcunov@openvz.org>
Sun, 5 Jul 2009 16:01:54 +0000
(20:01 +0400)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 10 Jul 2009 13:58:34 +0000
(15:58 +0200)
We already use a lot of cpu_has_ helpers.
Lets do here the same for consistency.
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Cc: Yinghai Lu <yinghai@kernel.org>
LKML-Reference: <
20090705160154
.GB4791@lenovo>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic/ipi.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/apic/ipi.c
b/arch/x86/kernel/apic/ipi.c
index
dbf5445
..
e6b4f51
100644
(file)
--- a/
arch/x86/kernel/apic/ipi.c
+++ b/
arch/x86/kernel/apic/ipi.c
@@
-150,7
+150,7
@@
int safe_smp_processor_id(void)
{
int apicid, cpuid;
- if (!
boot_cpu_has(X86_FEATURE_APIC)
)
+ if (!
cpu_has_apic
)
return 0;
apicid = hard_smp_processor_id();