2019-05-29 14:12:41 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2011-10-31 23:42:51 +00:00
|
|
|
/*
|
2012-09-19 21:22:02 +00:00
|
|
|
* Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
|
2011-10-31 23:42:51 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _ASM_IRQ_H_
|
|
|
|
#define _ASM_IRQ_H_
|
|
|
|
|
|
|
|
/* Number of first-level interrupts associated with the CPU core. */
|
|
|
|
#define HEXAGON_CPUINTS 32
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Must define NR_IRQS before including <asm-generic/irq.h>
|
|
|
|
* 64 == the two SIRC's, 176 == the two gpio's
|
|
|
|
*
|
|
|
|
* IRQ configuration is still in flux; defining this to a comfortably
|
|
|
|
* large number.
|
|
|
|
*/
|
|
|
|
#define NR_IRQS 512
|
|
|
|
|
|
|
|
#include <asm-generic/irq.h>
|
|
|
|
|
2023-11-30 22:58:30 +00:00
|
|
|
struct pt_regs;
|
|
|
|
void arch_do_IRQ(struct pt_regs *);
|
|
|
|
|
2011-10-31 23:42:51 +00:00
|
|
|
#endif
|