Merge branch 'modules-next' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty...
[deliverable/linux.git] / arch / m32r / include / asm / hardirq.h
CommitLineData
1da177e4
LT
1#ifdef __KERNEL__
2#ifndef __ASM_HARDIRQ_H
3#define __ASM_HARDIRQ_H
4
ef187fd7 5#include <asm/irq.h>
1da177e4
LT
6
7#if NR_IRQS > 256
8#define HARDIRQ_BITS 9
9#else
10#define HARDIRQ_BITS 8
11#endif
12
13/*
14 * The hardirq mask has to be large enough to have
15 * space for potentially all IRQ sources in the system
16 * nesting on a single CPU:
17 */
18#if (1 << HARDIRQ_BITS) < NR_IRQS
19# error HARDIRQ_BITS is too low!
20#endif
21
ef187fd7 22#include <asm-generic/hardirq.h>
1da177e4
LT
23
24#endif /* __ASM_HARDIRQ_H */
25#endif /* __KERNEL__ */
This page took 0.887333 seconds and 5 git commands to generate.