Skip to contentSkip to conversation

sh: intc: Restrict INTC_USERIMASK to SH4A

PATCH In review Geert Uytterhoeven 1 participant 1 message Mar 19, 2014 SuperH

lore
Share & tools
lore
#0 lore raw

PATCH 2/5 sh: intc: Restrict INTC_USERIMASK to SH4A

From: Geert Uytterhoeven <[email protected]>

register_intc_userimask() is called from sh4a code only.

---
 drivers/sh/intc/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/sh/intc/Kconfig +1 -1
index f7d90617c9d9..60228fae943f 100644
@@ -6,7 +6,7 @@ comment "Interrupt controller options"
 
 config INTC_USERIMASK
 	bool "Userspace interrupt masking support"
-	depends on ARCH_SHMOBILE || (SUPERH && CPU_SH4A) || COMPILE_TEST
+	depends on (SUPERH && CPU_SH4A) || COMPILE_TEST
 	help
 	  This enables support for hardware-assisted userspace hardirq
 	  masking.
Signature · 1 line
1.7.9.5