[PATCH] generic irq code missing export of probe_irq_mask()

From: James Bottomley
Date: Thu Jan 13 2005 - 18:43:23 EST


Matthew Wilcox just converted parisc over to doing the generic irq code
and we ran across the symbol probe_irq_mask being undefined (and thus
preventing yenta_socket from loading).

It looks like the EXPORT_SYMBOL() was accidentally missed from
kernel/irq/autoprobe.c and no-one noticed on x86 because it's still in
i386_ksyms.c

This patch corrects the problem so that the generic irq code now works
completely on parisc.

Signed-off-by: James Bottomley <James.Bottomley@xxxxxxxxxxxx>

--

James

Index: linux-2.6/arch/i386/kernel/i386_ksyms.c
===================================================================
RCS file: /var/cvs/linux-2.6/arch/i386/kernel/i386_ksyms.c,v
retrieving revision 1.11
diff -u -r1.11 i386_ksyms.c
--- linux-2.6/arch/i386/kernel/i386_ksyms.c 29 Nov 2004 19:55:27 -0000 1.11
+++ linux-2.6/arch/i386/kernel/i386_ksyms.c 13 Jan 2005 23:16:41 -0000
@@ -75,7 +75,6 @@
EXPORT_SYMBOL(__ioremap);
EXPORT_SYMBOL(ioremap_nocache);
EXPORT_SYMBOL(iounmap);
-EXPORT_SYMBOL(probe_irq_mask);
EXPORT_SYMBOL(kernel_thread);
EXPORT_SYMBOL(pm_idle);
EXPORT_SYMBOL(pm_power_off);
Index: linux-2.6/kernel/irq/autoprobe.c
===================================================================
RCS file: /var/cvs/linux-2.6/kernel/irq/autoprobe.c,v
retrieving revision 1.2
diff -u -r1.2 autoprobe.c
--- linux-2.6/kernel/irq/autoprobe.c 21 Oct 2004 19:00:13 -0000 1.2
+++ linux-2.6/kernel/irq/autoprobe.c 13 Jan 2005 23:17:10 -0000
@@ -137,6 +137,7 @@

return mask & val;
}
+EXPORT_SYMBOL(probe_irq_mask);

/**
* probe_irq_off - end an interrupt autodetect


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/