aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup.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/setup.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/setup.c')
-rw-r--r--arch/x86/kernel/setup.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 54043cb7ba68..d3da0f7333f7 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -1021,23 +1021,6 @@ void __init setup_arch(char **cmdline_p)
1021#ifdef CONFIG_X86_32 1021#ifdef CONFIG_X86_32
1022 1022
1023/** 1023/**
1024 * x86_quirk_intr_init - post gate setup interrupt initialisation
1025 *
1026 * Description:
1027 * Fill in any interrupts that may have been left out by the general
1028 * init_IRQ() routine. interrupts having to do with the machine rather
1029 * than the devices on the I/O bus (like APIC interrupts in intel MP
1030 * systems) are started here.
1031 **/
1032void __init x86_quirk_intr_init(void)
1033{
1034 if (x86_quirks->arch_intr_init) {
1035 if (x86_quirks->arch_intr_init())
1036 return;
1037 }
1038}
1039
1040/**
1041 * x86_quirk_trap_init - initialise system specific traps 1024 * x86_quirk_trap_init - initialise system specific traps
1042 * 1025 *
1043 * Description: 1026 * Description: