summaryrefslogtreecommitdiff
path: root/include/linux/sh_intc.h
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-02-09 04:29:22 +0000
committerPaul Mundt <lethal@linux-sh.org>2010-02-09 18:23:58 +0900
commitd519095344fda705c9840a579acf6aa6205c37cc (patch)
tree9fc60de49712b6625eb9adb30153d88d86c433da /include/linux/sh_intc.h
parent577cd7584cf5199f1ea22cca0ad1fa129a98effa (diff)
downloadlwn-d519095344fda705c9840a579acf6aa6205c37cc.tar.gz
lwn-d519095344fda705c9840a579acf6aa6205c37cc.zip
sh: extend INTC with force_enable
Extend the shared INTC code with force_enable support to allow keeping mask bits statically enabled. Needed by upcoming INTC SDHI patches that mux together a bunch of vectors to a single linux interrupt which is masked by a priority register, but needs individual mask bits constantly enabled. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/linux/sh_intc.h')
-rw-r--r--include/linux/sh_intc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sh_intc.h b/include/linux/sh_intc.h
index 7b37526bb73f..66b4b0c45e71 100644
--- a/include/linux/sh_intc.h
+++ b/include/linux/sh_intc.h
@@ -71,6 +71,7 @@ struct intc_hw_desc {
struct intc_desc {
char *name;
+ intc_enum force_enable;
struct intc_hw_desc hw;
};