diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2007-07-12 16:17:18 +0800 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-07-12 16:17:18 +0800 |
commit | 34e0fc89bdc1e6f50032dc43ed23167f5dbad6da (patch) | |
tree | b76cb79b0e2b7254b0942de510c1ce459df83567 /include/asm-blackfin/hardirq.h | |
parent | 1f83b8f148a1eb967d2a628cbb741cd56fb54572 (diff) |
Blackfin arch: Enable BF54x PIN/GPIO interrupts
Signed-off-bu: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'include/asm-blackfin/hardirq.h')
-rw-r--r-- | include/asm-blackfin/hardirq.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-blackfin/hardirq.h b/include/asm-blackfin/hardirq.h index 0cab0d35badc..b6b19f1b9dab 100644 --- a/include/asm-blackfin/hardirq.h +++ b/include/asm-blackfin/hardirq.h @@ -28,7 +28,11 @@ typedef struct { * SOFTIRQ_MASK: 0x00ff0000 */ +#if NR_IRQS > 256 +#define HARDIRQ_BITS 9 +#else #define HARDIRQ_BITS 8 +#endif #ifdef NR_IRQS # if (1 << HARDIRQ_BITS) < NR_IRQS |