projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/arch/x86/kernel/apic_32.c
b/arch/x86/kernel/apic_32.c
index 6af20dd12c9617465e0dd09a9608c9e60ad9dccb..a151d66f948c8cbf5abb7c5d7b7c82c3524cd4a4 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);
}