summaryrefslogtreecommitdiffstats
path: root/include/linux/irqnr.h
blob: 7a299e989f8bcee6dbfbc7ab305c458414245910 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef _LINUX_IRQNR_H
#define _LINUX_IRQNR_H

#ifndef CONFIG_GENERIC_HARDIRQS
#include <asm/irq.h>
# define nr_irqs		NR_IRQS

# define for_each_irq_desc(irq, desc)		\
	for (irq = 0; irq < nr_irqs; irq++)

static inline early_sparse_irq_init(void)
{
}
#endif

#endif