projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29ccbbf
)
x86: print local APIC of APs one by one
author
Yinghai Lu
<yhlu.kernel@gmail.com>
Wed, 20 Aug 2008 03:50:50 +0000
(20:50 -0700)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 16 Oct 2008 14:52:57 +0000
(16:52 +0200)
instead of print that of all APs at the time
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/io_apic.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/io_apic.c
b/arch/x86/kernel/io_apic.c
index 5de2d38812aaf363e257e37e35647667149ada81..bf0e66d73030d100b34beb36470661e70a582ef5 100644
(file)
--- a/
arch/x86/kernel/io_apic.c
+++ b/
arch/x86/kernel/io_apic.c
@@
-1777,7
+1777,12
@@
__apicdebuginit(void) print_local_APIC(void *dummy)
__apicdebuginit(void) print_all_local_APICs(void)
{
- on_each_cpu(print_local_APIC, NULL, 1);
+ int cpu;
+
+ preempt_disable();
+ for_each_online_cpu(cpu)
+ smp_call_function_single(cpu, print_local_APIC, NULL, 1);
+ preempt_enable();
}
__apicdebuginit(void) print_PIC(void)