swh:1:snp:49cd9498d6cccc5e78252c27dcb645bcf7bf0c91
Raw File
Tip revision: ae99a78af33f00565a05dbbc6ca9b247fed002c5 authored by Linus Torvalds on 31 October 2006, 03:37:36 UTC
Linux 2.6.19-rc4
Tip revision: ae99a78
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