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: Detect use of extended APIC ID for AMD CPUs
[safe/jmp/linux-2.6]
/
arch
/
x86
/
include
/
asm
/
apic.h
diff --git
a/arch/x86/include/asm/apic.h
b/arch/x86/include/asm/apic.h
index
42f2f83
..
9b2c049
100644
(file)
--- a/
arch/x86/include/asm/apic.h
+++ b/
arch/x86/include/asm/apic.h
@@
-410,7
+410,7
@@
static inline unsigned default_get_apic_id(unsigned long x)
{
unsigned int ver = GET_APIC_VERSION(apic_read(APIC_LVR));
- if (APIC_XAPIC(ver))
+ if (APIC_XAPIC(ver)
|| boot_cpu_has(X86_FEATURE_EXTD_APICID)
)
return (x >> 24) & 0xFF;
else
return (x >> 24) & 0x0F;