aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/paravirt.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-08-20 03:59:09 -0400
committerThomas Gleixner <tglx@linutronix.de>2009-08-31 03:35:45 -0400
commit66bcaf0bde100a4b54b82fc6fea6ceee2212ffb4 (patch)
tree4d9e290bcf8da7e043d12f047b10ea4b6c3f33ff /arch/x86/kernel/paravirt.c
parentd9112f43021554ded2ef2b9bea5f88ba4b52abe0 (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.c6
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
186void init_IRQ(void)
187{
188 pv_irq_ops.init_IRQ();
189}
190
191static void native_flush_tlb(void) 186static 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
330struct pv_irq_ops pv_irq_ops = { 325struct 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),