Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2004-10-10 03:48:06 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-10 03:48:06 -0700
commitb6acbccb962ab3c09b266c4e06f4f59e8984d9d8 (patch)
treed228afde03a807396d5e100b21d3b7a308f1c701
parenta31de51d821bbb0145f74f4f3dff2784216e6ec7 (diff)
[PATCH] find_isa_irq_pin can't be __init
As spotted by one of our Fedora users, we sometimes oops during shutdown (http://www.roberthancock.com/kerneloops.png) because disable_IO_APIC() wants to call find_isa_irq_pin(), which we threw away during init. Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--arch/i386/kernel/io_apic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/io_apic.c b/arch/i386/kernel/io_apic.c
index 1577934644e7..4bbd49692e82 100644
--- a/arch/i386/kernel/io_apic.c
+++ b/arch/i386/kernel/io_apic.c
@@ -745,7 +745,7 @@ static int __init find_irq_entry(int apic, int pin, int type)
/*
* Find the pin to which IRQ[irq] (ISA) is connected
*/
-static int __init find_isa_irq_pin(int irq, int type)
+static int find_isa_irq_pin(int irq, int type)
{
int i;