18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci/* hardirq.h: 64-bit Sparc hard IRQ support. 38c2ecf20Sopenharmony_ci * 48c2ecf20Sopenharmony_ci * Copyright (C) 1997, 1998, 2005 David S. Miller (davem@davemloft.net) 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#ifndef __SPARC64_HARDIRQ_H 88c2ecf20Sopenharmony_ci#define __SPARC64_HARDIRQ_H 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci#include <asm/cpudata.h> 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci#define __ARCH_IRQ_STAT 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#define local_softirq_pending_ref \ 158c2ecf20Sopenharmony_ci __cpu_data.__softirq_pending 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_civoid ack_bad_irq(unsigned int irq); 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci#endif /* !(__SPARC64_HARDIRQ_H) */ 20