Skip to content

Commit

Permalink
drivers: sh: Restrict INTC_USERIMASK to SH4A
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geert Uytterhoeven authored and Simon Horman committed May 26, 2014
1 parent fe95c93 commit 39c5abb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sh/intc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 39c5abb

Please sign in to comment.