sysdev: fix problem with sysdev_class being re-registered
[linux-2.6/s3c2410-cpufreq.git] / include / asm-s390 / irq.h
blob7da991a858f8c97f1f390fd8285ebb3ab9e3c592
1 #ifndef _ASM_IRQ_H
2 #define _ASM_IRQ_H
4 #ifdef __KERNEL__
5 #include <linux/hardirq.h>
7 /*
8 * the definition of irqs has changed in 2.5.46:
9 * NR_IRQS is no longer the number of i/o
10 * interrupts (65536), but rather the number
11 * of interrupt classes (2).
12 * Only external and i/o interrupts make much sense here (CH).
15 enum interruption_class {
16 EXTERNAL_INTERRUPT,
17 IO_INTERRUPT,
19 NR_IRQS,
22 #endif /* __KERNEL__ */
23 #endif