summaryrefslogtreecommitdiff
path: root/drivers/sh
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2014-05-22 20:00:06 +0200
committerSimon Horman <horms+renesas@verge.net.au>2014-05-26 10:45:02 +0900
commit39c5abbc54179998bf04368a11c561e19220d7d4 (patch)
tree74c55567c03b5a4291066f34f99843118f450eed /drivers/sh
parentfe95c932a31e7f12bcb6a4e07434462da2ac6e1d (diff)
downloadlinux-riscv-39c5abbc54179998bf04368a11c561e19220d7d4.tar.gz
linux-riscv-39c5abbc54179998bf04368a11c561e19220d7d4.tar.bz2
linux-riscv-39c5abbc54179998bf04368a11c561e19220d7d4.zip
drivers: sh: Restrict INTC_USERIMASK to SH4A
register_intc_userimask() is called from sh4a code only. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> [r8a7779 legacy] Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/sh')
-rw-r--r--drivers/sh/intc/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sh/intc/Kconfig b/drivers/sh/intc/Kconfig
index f7d90617c9d9..60228fae943f 100644
--- a/drivers/sh/intc/Kconfig
+++ b/drivers/sh/intc/Kconfig
@@ -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.