|
@@ -3091,20 +3091,3 @@ int mp_set_gsi_attr(u32 gsi, int trigger, int polarity, int node)
|
|
|
|
|
|
return ret;
|
|
return ret;
|
|
}
|
|
}
|
|
-
|
|
|
|
-/* Enable IOAPIC early just for system timer */
|
|
|
|
-void __init pre_init_apic_IRQ0(void)
|
|
|
|
-{
|
|
|
|
- struct io_apic_irq_attr attr = { 0, 0, 0, 0 };
|
|
|
|
-
|
|
|
|
- printk(KERN_INFO "Early APIC setup for system timer0\n");
|
|
|
|
-#ifndef CONFIG_SMP
|
|
|
|
- physid_set_mask_of_physid(boot_cpu_physical_apicid,
|
|
|
|
- &phys_cpu_present_map);
|
|
|
|
-#endif
|
|
|
|
- setup_local_APIC();
|
|
|
|
-
|
|
|
|
- io_apic_setup_irq_pin(0, 0, &attr);
|
|
|
|
- irq_set_chip_and_handler_name(0, &ioapic_chip, handle_edge_irq,
|
|
|
|
- "edge");
|
|
|
|
-}
|
|
|