All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] find_isa_irq_pin can't be __init
@ 2004-10-10 22:57 Dave Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Jones @ 2004-10-10 22:57 UTC (permalink / raw)
  To: torvalds, akpm; +Cc: linux-kernel

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>

--- linux-2.6.8/arch/i386/kernel/io_apic.c~	2004-10-10 18:54:27.490567168 -0400
+++ linux-2.6.8/arch/i386/kernel/io_apic.c	2004-10-10 18:54:44.660956872 -0400
@@ -745,7 +745,7 @@ static int __init find_irq_entry(int api
 /*
  * 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;
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-11  6:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <fa.fq3ot7q.1fgua9u@ifi.uio.no>
2004-10-11  6:39 ` [PATCH] find_isa_irq_pin can't be __init Robert Hancock
2004-10-10 22:57 Dave Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.