diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/io_apic.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/x86/kernel/io_apic.c b/arch/x86/kernel/io_apic.c index 5de2d38812aa..bf0e66d73030 100644 --- 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) | |||
1777 | 1777 | ||
1778 | __apicdebuginit(void) print_all_local_APICs(void) | 1778 | __apicdebuginit(void) print_all_local_APICs(void) |
1779 | { | 1779 | { |
1780 | on_each_cpu(print_local_APIC, NULL, 1); | 1780 | int cpu; |
1781 | |||
1782 | preempt_disable(); | ||
1783 | for_each_online_cpu(cpu) | ||
1784 | smp_call_function_single(cpu, print_local_APIC, NULL, 1); | ||
1785 | preempt_enable(); | ||
1781 | } | 1786 | } |
1782 | 1787 | ||
1783 | __apicdebuginit(void) print_PIC(void) | 1788 | __apicdebuginit(void) print_PIC(void) |