mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 13:15:57 +00:00
x86: print local APIC of APs one by one
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>
This commit is contained in:
parent
29ccbbf232
commit
ffd5aae781
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user