projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'core/rodata' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux...
[firefly-linux-kernel-4.4.55.git]
/
include
/
asm-blackfin
/
hardirq.h
diff --git
a/include/asm-blackfin/hardirq.h
b/include/asm-blackfin/hardirq.h
index 0cab0d35badc42a7622ae816a058814097114b8e..b6b19f1b9dab56dc1aad604208ba960eea8567f0 100644
(file)
--- 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