aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/system_32.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-11-23 21:50:16 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-04 09:17:01 -0800
commitc6afec5e4d323e7b88a7d6e291a5aa021a8fcb7d (patch)
tree874181100e9595b1f75b10bbf4e60f6352e422d2 /arch/sparc/include/asm/system_32.h
parent2c2551ab99f9ba3c726e6a41c84ef0c7390fc546 (diff)
downloadkernel_samsung_tuna-c6afec5e4d323e7b88a7d6e291a5aa021a8fcb7d.zip
kernel_samsung_tuna-c6afec5e4d323e7b88a7d6e291a5aa021a8fcb7d.tar.gz
kernel_samsung_tuna-c6afec5e4d323e7b88a7d6e291a5aa021a8fcb7d.tar.bz2
sparc: Include drivers/pcmcia/Kconfig
Stephen Rothwell pointed out that pcmcia can't be enabled on sparc64. There is an empty non-prompt PCMCIA explicit entry in arch/sparc/Kconfig but that doesn't do anything. 32-bit sparc needs a small hack to make this work, since it doesn't use the generic IRQ layer yes. We have to provide a dummy definition of probe_irq_mask(), since this is used by the yenta socket driver. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/system_32.h')
-rw-r--r--arch/sparc/include/asm/system_32.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/system_32.h b/arch/sparc/include/asm/system_32.h
index 8623fc4..79c1ae2 100644
--- a/arch/sparc/include/asm/system_32.h
+++ b/arch/sparc/include/asm/system_32.h
@@ -15,6 +15,11 @@
#include <linux/irqflags.h>
+static inline unsigned int probe_irq_mask(unsigned long val)
+{
+ return 0;
+}
+
/*
* Sparc (general) CPU types
*/