Commit ffd5aae7 authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar
Browse files

x86: print local APIC of APs one by one



instead of print that of all APs at the time

Signed-off-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 29ccbbf2
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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)