git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86: Don't use current_cpu_data in x2apic phys_pkg_id
[safe/jmp/linux-2.6]
/
arch
/
x86
/
kernel
/
apic
/
x2apic_phys.c
diff --git
a/arch/x86/kernel/apic/x2apic_phys.c
b/arch/x86/kernel/apic/x2apic_phys.c
index
a284359
..
0b631c6
100644
(file)
--- a/
arch/x86/kernel/apic/x2apic_phys.c
+++ b/
arch/x86/kernel/apic/x2apic_phys.c
@@
-162,7
+162,7
@@
static unsigned long set_apic_id(unsigned int id)
static int x2apic_phys_pkg_id(int initial_apicid, int index_msb)
{
- return
current_cpu_data.
initial_apicid >> index_msb;
+ return initial_apicid >> index_msb;
}
static void x2apic_send_IPI_self(int vector)