]> git.hungrycats.org Git - linux/commitdiff
[PATCH] find_isa_irq_pin can't be __init
authorDave Jones <davej@redhat.com>
Sun, 10 Oct 2004 10:48:06 +0000 (03:48 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 10 Oct 2004 10:48:06 +0000 (03:48 -0700)
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>
arch/i386/kernel/io_apic.c

index 1577934644e7ab8e5cbb0a8e7a750c0503957600..4bbd49692e82b7ee1b26665e8f642b5f0601bc67 100644 (file)
@@ -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;