blob: 17bb12d760b2eb2858cb39bb8e057fd51c5c96e5 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __ASM_HARDIRQ_H
2#define __ASM_HARDIRQ_H
3
Jesper Nilsson80bf7a52007-11-14 17:00:49 -08004#include <asm/irq.h>
Mikael Starvik2e0cea12005-07-27 11:44:36 -07005
Linus Torvalds1da177e2005-04-16 15:20:36 -07006#define HARDIRQ_BITS 8
7
8/*
9 * The hardirq mask has to be large enough to have
10 * space for potentially all IRQ sources in the system
11 * nesting on a single CPU:
12 */
13#if (1 << HARDIRQ_BITS) < NR_IRQS
14# error HARDIRQ_BITS is too low!
15#endif
16
Christoph Hellwig0395ac62009-08-04 16:49:52 +020017#include <asm-generic/hardirq.h>
18
Linus Torvalds1da177e2005-04-16 15:20:36 -070019#endif /* __ASM_HARDIRQ_H */