summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/i8259_64.c
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-01-30 13:33:19 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:33:19 +0100
commitb03878307a78ba0248f6f8d24279c846f1a26f6e (patch)
treeadbd4e225c31415995ea892b5b8089f7ccd970b5 /arch/x86/kernel/i8259_64.c
parent8a650ce297c723ebe7da17ec2890f6971438aee1 (diff)
downloadtalos-op-linux-b03878307a78ba0248f6f8d24279c846f1a26f6e.tar.gz
talos-op-linux-b03878307a78ba0248f6f8d24279c846f1a26f6e.zip
x86: provide a native_init_IRQ function on 64-bit
x86_64 lacks a native_init_IRQ() function, so we turn the arch's init_IRQ() function into a native construct Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/i8259_64.c')
-rw-r--r--arch/x86/kernel/i8259_64.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/x86/kernel/i8259_64.c b/arch/x86/kernel/i8259_64.c
index d3edb9f23f2c..fa57a1568508 100644
--- a/arch/x86/kernel/i8259_64.c
+++ b/arch/x86/kernel/i8259_64.c
@@ -456,7 +456,9 @@ void __init init_ISA_irqs (void)
}
}
-void __init init_IRQ(void)
+void init_IRQ(void) __attribute__((weak, alias("native_init_IRQ")));
+
+void __init native_init_IRQ(void)
{
int i;
OpenPOWER on IntegriCloud