Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 20f4d6c3a2a23c5d7d9cc7f42fbb943ca7a03d1f authored by Linus Torvalds on 23 February 2009, 04:19:40 UTC
Linux 2.6.29-rc6
Tip revision: 20f4d6c
irq.h
#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
back to top