public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] generic irq code missing export of probe_irq_mask()
@ 2005-01-13 23:22 James Bottomley
  0 siblings, 0 replies; only message in thread
From: James Bottomley @ 2005-01-13 23:22 UTC (permalink / raw)
  To: Andrew Morton, Linus Torvalds; +Cc: Linux Kernel

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@SteelEye.com>

--

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-13 23:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-13 23:22 [PATCH] generic irq code missing export of probe_irq_mask() James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox