diff options
| author | Ingo Molnar <mingo@elte.hu> | 2011-02-16 13:33:35 +0100 | 
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2011-02-16 13:33:41 +0100 | 
| commit | a3ec4a603faf4244e275bf11b467aad092dfbd8a (patch) | |
| tree | 1c15009716b37629070ea221a00eb9fe2303a317 /arch/x86/kernel/apic/apic.c | |
| parent | 51563cd53c4b1c1790fccd2e0af0e2b756589af9 (diff) | |
| parent | 85e2efbb1db9a18d218006706d6e4fbeb0216213 (diff) | |
| download | olio-linux-3.10-a3ec4a603faf4244e275bf11b467aad092dfbd8a.tar.xz olio-linux-3.10-a3ec4a603faf4244e275bf11b467aad092dfbd8a.zip  | |
Merge commit 'v2.6.38-rc5' into core/locking
Merge reason: pick up upstream fixes.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/apic/apic.c')
| -rw-r--r-- | arch/x86/kernel/apic/apic.c | 9 | 
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c index 06c196d7e59..76b96d74978 100644 --- a/arch/x86/kernel/apic/apic.c +++ b/arch/x86/kernel/apic/apic.c @@ -1381,12 +1381,17 @@ void __cpuinit end_local_APIC_setup(void)  #endif  	apic_pm_activate(); +} + +void __init bsp_end_local_APIC_setup(void) +{ +	end_local_APIC_setup();  	/*  	 * Now that local APIC setup is completed for BP, configure the fault  	 * handling for interrupt remapping.  	 */ -	if (!smp_processor_id() && intr_remapping_enabled) +	if (intr_remapping_enabled)  		enable_drhd_fault_handling();  } @@ -1756,7 +1761,7 @@ int __init APIC_init_uniprocessor(void)  		enable_IO_APIC();  #endif -	end_local_APIC_setup(); +	bsp_end_local_APIC_setup();  #ifdef CONFIG_X86_IO_APIC  	if (smp_found_config && !skip_ioapic_setup && nr_ioapics)  |