hw_irq.h 426 Bytes
Newer Older
1
/* SPDX-License-Identifier: GPL-2.0 */
2 3 4 5 6 7
/*
 * Nothing to see here yet
 */
#ifndef _ARCH_ARM_HW_IRQ_H
#define _ARCH_ARM_HW_IRQ_H

8 9 10 11
static inline void ack_bad_irq(int irq)
{
	extern unsigned long irq_err_count;
	irq_err_count++;
12
	pr_crit("unexpected IRQ trap at vector %02x\n", irq);
13 14
}

15 16
#define ARCH_IRQ_INIT_FLAGS	(IRQ_NOREQUEST | IRQ_NOPROBE)

17 18 19 20
#define IPIPE_NR_ROOT_IRQS	1024

#define IPIPE_NR_XIRQS		IPIPE_NR_ROOT_IRQS

21
#endif