OSDN Git Service

drivers: sh: Restrict INTC_USERIMASK to SH4A
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 22 May 2014 18:00:06 +0000 (20:00 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 26 May 2014 01:45:02 +0000 (10:45 +0900)
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>
drivers/sh/intc/Kconfig

index f7d9061..60228fa 100644 (file)
@@ -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.