projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f07f4f9
)
x86: apic - do not clear APIC twice in lapic_shutdown
author
Cyrill Gorcunov
<gorcunov@gmail.com>
Fri, 15 Aug 2008 11:51:21 +0000
(13:51 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Fri, 15 Aug 2008 11:51:21 +0000
(13:51 +0200)
There is no need to clear APIC twice since
disable_local_APIC will clear it anyway.
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/apic_32.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/apic_32.c
b/arch/x86/kernel/apic_32.c
index
6af20dd
..
a151d66
100644
(file)
--- a/
arch/x86/kernel/apic_32.c
+++ b/
arch/x86/kernel/apic_32.c
@@
-830,10
+830,11
@@
void lapic_shutdown(void)
return;
local_irq_save(flags);
- clear_local_APIC();
if (enabled_via_apicbase)
disable_local_APIC();
+ else
+ clear_local_APIC();
local_irq_restore(flags);
}