aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRandy Dunlap <rddunlap@osdl.org>2004-08-22 22:26:18 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-22 22:26:18 -0700
commit9026a8d6da2f5a283b988f0748e6324467e12636 (patch)
tree726c775a4c3720d9fe8e069813d55d1e121be910 /arch
parenta55702bb86b58773e7e880956f00ee55cb939355 (diff)
downloadhistory-9026a8d6da2f5a283b988f0748e6324467e12636.tar.gz
[PATCH] tg3 section fix
add_pin_to_irq() should not be __init; it is used after init code. Signed-off-by: Randy Dunlap <rddunlap@osdl.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-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 ea1754595126a9..a02bbabefa17a6 100644
--- a/arch/i386/kernel/io_apic.c
+++ b/arch/i386/kernel/io_apic.c
@@ -86,7 +86,7 @@ int vector_irq[NR_VECTORS] = { [0 ... NR_VECTORS - 1] = -1};
* shared ISA-space IRQs, so we have to support them. We are super
* fast in the common case, and fast for shared ISA-space IRQs.
*/
-static void __init add_pin_to_irq(unsigned int irq, int apic, int pin)
+static void add_pin_to_irq(unsigned int irq, int apic, int pin)
{
static int first_free_entry = NR_IRQS;
struct irq_pin_list *entry = irq_2_pin + irq;