]> git.karo-electronics.de Git - linux-beck.git/commit
sh: intc: userimask support.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 13 Apr 2010 05:43:03 +0000 (14:43 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 13 Apr 2010 05:43:03 +0000 (14:43 +0900)
commit43b8774dc409ea5d9369b978e2e7bc79289f0522
tree13aa346ff8f30786e8ce3ccfdd8341d182ce4c87
parent12129fea50edcd696a9556523b058d6c445f21d8
sh: intc: userimask support.

This adds support for hardware-assisted userspace irq masking for
special priority levels. Due to the SR.IMASK interactivity, only some
platforms implement this in hardware (including but not limited to
SH-4A interrupt controllers, and ARM-based SH-Mobile CPUs). Each CPU
needs to wire this up on its own, for now only SH7786 is wired up as an
example.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig
arch/sh/kernel/cpu/sh4a/setup-sh7786.c
drivers/sh/Kconfig [new file with mode: 0644]
drivers/sh/intc.c
include/linux/sh_intc.h