Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234674
b: refs/heads/master
c: f880ec7
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Feb 23, 2011
1 parent 6c66678 commit 6d3343c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ff973d041e5ab9ada9e49f4e93ef3a699c511463
refs/heads/master: f880ec78fabebc58180778d223600e9be7b48502
9 changes: 2 additions & 7 deletions trunk/arch/x86/kernel/apic/io_apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -4103,20 +4103,15 @@ void __init mp_register_ioapic(int id, u32 address, u32 gsi_base)
/* Enable IOAPIC early just for system timer */
void __init pre_init_apic_IRQ0(void)
{
struct irq_cfg *cfg;
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
/* Make sure the irq descriptor is set up */
cfg = alloc_irq_and_cfg_at(0, 0);

setup_local_APIC();

add_pin_to_irq_node(cfg, 0, 0, 0);
io_apic_setup_irq_pin(0, 0, &attr);
set_irq_chip_and_handler_name(0, &ioapic_chip, handle_edge_irq, "edge");

setup_ioapic_irq(0, 0, 0, cfg, 0, 0);
}

0 comments on commit 6d3343c

Please sign in to comment.