Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145594
b: refs/heads/master
c: 7788386
h: refs/heads/master
v: v3
  • Loading branch information
Pekka Enberg authored and Ingo Molnar committed Apr 10, 2009
1 parent 9a62704 commit 2936830
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 320fd99672a44ece6d1cd0d838ba31c8ebbf5979
refs/heads/master: 778838600eb6973bdb6fd11e7f91b43cea4d6f45
20 changes: 20 additions & 0 deletions trunk/arch/x86/kernel/irqinit_32.c
Original file line number Diff line number Diff line change
@@ -1,27 +1,47 @@
#include <linux/linkage.h>
#include <linux/errno.h>
#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/ioport.h>
#include <linux/interrupt.h>
#include <linux/timex.h>
#include <linux/slab.h>
#include <linux/random.h>
#include <linux/init.h>
#include <linux/kernel_stat.h>
#include <linux/sysdev.h>
#include <linux/bitops.h>
#include <linux/acpi.h>
#include <linux/io.h>
#include <linux/delay.h>

#include <asm/atomic.h>
#include <asm/system.h>
#include <asm/timer.h>
#include <asm/hw_irq.h>
#include <asm/pgtable.h>
#include <asm/desc.h>
#include <asm/apic.h>
#include <asm/setup.h>
#include <asm/i8259.h>
#include <asm/traps.h>

/*
* ISA PIC or low IO-APIC triggered (INTA-cycle or APIC) interrupts:
* (these are usually mapped to vectors 0x30-0x3f)
*/

/*
* The IO-APIC gives us many more interrupt sources. Most of these
* are unused but an SMP system is supposed to have enough memory ...
* sometimes (mostly wrt. hw bugs) we get corrupted vectors all
* across the spectrum, so we really want to be prepared to get all
* of these. Plus, more powerful systems might have more than 64
* IO-APIC registers.
*
* (these are usually mapped into the 0x30-0xff vector range)
*/

#ifdef CONFIG_X86_32
/*
* Note that on a 486, we don't want to do a SIGFPE on an irq13
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/x86/kernel/irqinit_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@

#include <asm/atomic.h>
#include <asm/system.h>
#include <asm/timer.h>
#include <asm/hw_irq.h>
#include <asm/pgtable.h>
#include <asm/desc.h>
#include <asm/apic.h>
#include <asm/setup.h>
#include <asm/i8259.h>
#include <asm/traps.h>

/*
* ISA PIC or low IO-APIC triggered (INTA-cycle or APIC) interrupts:
Expand Down Expand Up @@ -136,6 +139,7 @@ static void __init init_ISA_irqs(void)
}
}

/* Overridden in paravirt.c */
void init_IRQ(void) __attribute__((weak, alias("native_init_IRQ")));

static void __init smp_intr_init(void)
Expand Down

0 comments on commit 2936830

Please sign in to comment.