diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2009-08-20 03:59:09 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2009-08-31 03:35:45 -0400 |
commit | 66bcaf0bde100a4b54b82fc6fea6ceee2212ffb4 (patch) | |
tree | 4d9e290bcf8da7e043d12f047b10ea4b6c3f33ff /arch/x86/kernel/paravirt.c | |
parent | d9112f43021554ded2ef2b9bea5f88ba4b52abe0 (diff) |
x86: Move irq_init to x86_init_ops
irq_init is overridden by x86_quirks and by paravirts. Unify the whole
mess and make it an unconditional x86_init_ops function which defaults
to the standard function and can be overridden by the early platform
code.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/paravirt.c')
-rw-r--r-- | arch/x86/kernel/paravirt.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/kernel/paravirt.c b/arch/x86/kernel/paravirt.c index 532c9a2626c7..d76bfbec71ae 100644 --- a/arch/x86/kernel/paravirt.c +++ b/arch/x86/kernel/paravirt.c | |||
@@ -183,11 +183,6 @@ unsigned paravirt_patch_insns(void *insnbuf, unsigned len, | |||
183 | return insn_len; | 183 | return insn_len; |
184 | } | 184 | } |
185 | 185 | ||
186 | void init_IRQ(void) | ||
187 | { | ||
188 | pv_irq_ops.init_IRQ(); | ||
189 | } | ||
190 | |||
191 | static void native_flush_tlb(void) | 186 | static void native_flush_tlb(void) |
192 | { | 187 | { |
193 | __native_flush_tlb(); | 188 | __native_flush_tlb(); |
@@ -328,7 +323,6 @@ struct pv_time_ops pv_time_ops = { | |||
328 | }; | 323 | }; |
329 | 324 | ||
330 | struct pv_irq_ops pv_irq_ops = { | 325 | struct pv_irq_ops pv_irq_ops = { |
331 | .init_IRQ = native_init_IRQ, | ||
332 | .save_fl = __PV_IS_CALLEE_SAVE(native_save_fl), | 326 | .save_fl = __PV_IS_CALLEE_SAVE(native_save_fl), |
333 | .restore_fl = __PV_IS_CALLEE_SAVE(native_restore_fl), | 327 | .restore_fl = __PV_IS_CALLEE_SAVE(native_restore_fl), |
334 | .irq_disable = __PV_IS_CALLEE_SAVE(native_irq_disable), | 328 | .irq_disable = __PV_IS_CALLEE_SAVE(native_irq_disable), |