Skip to contentSkip to conversation

generic irq code missing export of probe_irq_mask()

PATCH New James Bottomley 1 participant 1 message Jan 13, 2005 IRQ

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 generic irq code missing export of probe_irq_mask()

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.

--

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

arch/i386/kernel/i386_ksyms.c +0 -1
diff -u -r1.11 i386_ksyms.c
@@ -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

kernel/irq/autoprobe.c +1 -0
diff -u -r1.2 autoprobe.c
@@ -137,6 +137,7 @@
 
 	return mask & val;
 }
+EXPORT_SYMBOL(probe_irq_mask);
 
 /**
  *	probe_irq_off	- end an interrupt autodetect