18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef _ALPHA_HW_IRQ_H 38c2ecf20Sopenharmony_ci#define _ALPHA_HW_IRQ_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciextern volatile unsigned long irq_err_count; 78c2ecf20Sopenharmony_ciDECLARE_PER_CPU(unsigned long, irq_pmi_count); 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#ifdef CONFIG_ALPHA_GENERIC 108c2ecf20Sopenharmony_ci#define ACTUAL_NR_IRQS alpha_mv.nr_irqs 118c2ecf20Sopenharmony_ci#else 128c2ecf20Sopenharmony_ci#define ACTUAL_NR_IRQS NR_IRQS 138c2ecf20Sopenharmony_ci#endif 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ci#endif 16