mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-06 05:36:39 +07:00
c6557e7f2b
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
24 lines
429 B
C
24 lines
429 B
C
#ifndef _ASM_IRQ_H
|
|
#define _ASM_IRQ_H
|
|
|
|
#ifdef __KERNEL__
|
|
#include <linux/hardirq.h>
|
|
|
|
/*
|
|
* the definition of irqs has changed in 2.5.46:
|
|
* NR_IRQS is no longer the number of i/o
|
|
* interrupts (65536), but rather the number
|
|
* of interrupt classes (2).
|
|
* Only external and i/o interrupts make much sense here (CH).
|
|
*/
|
|
|
|
enum interruption_class {
|
|
EXTERNAL_INTERRUPT,
|
|
IO_INTERRUPT,
|
|
|
|
NR_IRQS,
|
|
};
|
|
|
|
#endif /* __KERNEL__ */
|
|
#endif
|