projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f3ed17
)
sh: Add a NR_IRQS_LEGACY for external IRQ0-7.
author
Paul Mundt
<lethal@linux-sh.org>
Fri, 22 May 2009 04:50:18 +0000
(13:50 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Fri, 22 May 2009 04:50:18 +0000
(13:50 +0900)
This adds a NR_IRQS_LEGACY definition, which will be used by sparse irq.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/irq.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/include/asm/irq.h
b/arch/sh/include/asm/irq.h
index d319baaf4fbdf21a20b65cb659dcfaefd93d5f91..a2b8c99cc06f1a6453bd9162e1e0c34e6a9b0dee 100644
(file)
--- a/
arch/sh/include/asm/irq.h
+++ b/
arch/sh/include/asm/irq.h
@@
-8,7
+8,8
@@
* advised to cap this at the hard limit that they're interested in
* through the machvec.
*/
-#define NR_IRQS 256
+#define NR_IRQS 256
+#define NR_IRQS_LEGACY 8 /* Legacy external IRQ0-7 */
/*
* Convert back and forth between INTEVT and IRQ values.