Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39c5abbc authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Simon Horman
Browse files

drivers: sh: Restrict INTC_USERIMASK to SH4A



register_intc_userimask() is called from sh4a code only.

Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> [r8a7779 legacy]
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent fe95c932
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.