18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#ifndef _ASM_IRQ_H_
78c2ecf20Sopenharmony_ci#define _ASM_IRQ_H_
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci/* Number of first-level interrupts associated with the CPU core. */
108c2ecf20Sopenharmony_ci#define HEXAGON_CPUINTS 32
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci/*
138c2ecf20Sopenharmony_ci * Must define NR_IRQS before including <asm-generic/irq.h>
148c2ecf20Sopenharmony_ci * 64 == the two SIRC's, 176 == the two gpio's
158c2ecf20Sopenharmony_ci *
168c2ecf20Sopenharmony_ci * IRQ configuration is still in flux; defining this to a comfortably
178c2ecf20Sopenharmony_ci * large number.
188c2ecf20Sopenharmony_ci */
198c2ecf20Sopenharmony_ci#define NR_IRQS 512
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci#include <asm-generic/irq.h>
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci#endif
24