projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: add hard_smp_prossor_id with MACRO in io_apic_xx.c
[deliverable/linux.git]
/
arch
/
x86
/
kernel
/
apic_32.c
diff --git
a/arch/x86/kernel/apic_32.c
b/arch/x86/kernel/apic_32.c
index a54512bea6294c4a6186f82b06ff8316f37df031..93718ffb9b9c882dcb661845b41e081f61f1920b 100644
(file)
--- a/
arch/x86/kernel/apic_32.c
+++ b/
arch/x86/kernel/apic_32.c
@@
-1600,6
+1600,13
@@
void __cpuinit generic_processor_info(int apicid, int version)
cpu_set(cpu, cpu_present_map);
}
+#ifdef CONFIG_X86_64
+int hard_smp_processor_id(void)
+{
+ return read_apic_id();
+}
+#endif
+
/*
* Power management
*/
This page took
0.024233 seconds
and
5
git commands to generate.