diff options
Diffstat (limited to 'arch/x86/kernel/irqinit_32.c')
-rw-r--r-- | arch/x86/kernel/irqinit_32.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/arch/x86/kernel/irqinit_32.c b/arch/x86/kernel/irqinit_32.c index 368b0a8836f9..0c0dedccd036 100644 --- a/arch/x86/kernel/irqinit_32.c +++ b/arch/x86/kernel/irqinit_32.c | |||
@@ -53,7 +53,7 @@ static struct irqaction fpu_irq = { | |||
53 | .name = "fpu", | 53 | .name = "fpu", |
54 | }; | 54 | }; |
55 | 55 | ||
56 | void __init init_ISA_irqs(void) | 56 | static void __init init_ISA_irqs(void) |
57 | { | 57 | { |
58 | int i; | 58 | int i; |
59 | 59 | ||
@@ -121,6 +121,24 @@ int vector_used_by_percpu_irq(unsigned int vector) | |||
121 | /* Overridden in paravirt.c */ | 121 | /* Overridden in paravirt.c */ |
122 | void init_IRQ(void) __attribute__((weak, alias("native_init_IRQ"))); | 122 | void init_IRQ(void) __attribute__((weak, alias("native_init_IRQ"))); |
123 | 123 | ||
124 | /** | ||
125 | * x86_quirk_pre_intr_init - initialisation prior to setting up interrupt vectors | ||
126 | * | ||
127 | * Description: | ||
128 | * Perform any necessary interrupt initialisation prior to setting up | ||
129 | * the "ordinary" interrupt call gates. For legacy reasons, the ISA | ||
130 | * interrupts should be initialised here if the machine emulates a PC | ||
131 | * in any way. | ||
132 | **/ | ||
133 | static void __init x86_quirk_pre_intr_init(void) | ||
134 | { | ||
135 | if (x86_quirks->arch_pre_intr_init) { | ||
136 | if (x86_quirks->arch_pre_intr_init()) | ||
137 | return; | ||
138 | } | ||
139 | init_ISA_irqs(); | ||
140 | } | ||
141 | |||
124 | void __init native_init_IRQ(void) | 142 | void __init native_init_IRQ(void) |
125 | { | 143 | { |
126 | int i; | 144 | int i; |