Merge commit 'v2.6.38' into x86/mm
Conflicts: arch/x86/mm/numa_64.c Merge reason: Resolve the conflict, update the branch to .38. Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -1403,12 +1403,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();
|
||||
|
||||
}
|
||||
@@ -1778,7 +1783,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)
|
||||
|
@@ -4002,6 +4002,9 @@ int mp_find_ioapic(u32 gsi)
|
||||
{
|
||||
int i = 0;
|
||||
|
||||
if (nr_ioapics == 0)
|
||||
return -1;
|
||||
|
||||
/* Find the IOAPIC that manages this GSI. */
|
||||
for (i = 0; i < nr_ioapics; i++) {
|
||||
if ((gsi >= mp_gsi_routing[i].gsi_base)
|
||||
|
Reference in New Issue
Block a user