OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1725037
)
x86: support for new UV apic, fix
author
Jack Steiner
<steiner@sgi.com>
Mon, 31 Mar 2008 02:02:07 +0000
(21:02 -0500)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 17 Apr 2008 15:41:34 +0000
(17:41 +0200)
Yinghai Lu pointed out a bug in the previous patches,
fix double-shift of apicid.
Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/genapic_64.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/genapic_64.c
b/arch/x86/kernel/genapic_64.c
index
910a4a7
..
c9eabe3
100644
(file)
--- a/
arch/x86/kernel/genapic_64.c
+++ b/
arch/x86/kernel/genapic_64.c
@@
-95,8
+95,6
@@
unsigned int read_apic_id(void)
id = apic_read(APIC_ID);
if (uv_system_type >= UV_X2APIC)
id |= __get_cpu_var(x2apic_extra_bits);
- else
- id = (id >> 24) & 0xFFu;;
return id;
}