1 /* hardirq.h: 64-bit Sparc hard IRQ support.
2  *
3  * Copyright (C) 1997, 1998, 2005 David S. Miller (davem@davemloft.net)
4  */
5 
6 #ifndef __SPARC64_HARDIRQ_H
7 #define __SPARC64_HARDIRQ_H
8 
9 #include <asm/cpudata.h>
10 
11 #define __ARCH_IRQ_STAT
12 #define local_softirq_pending() \
13 	(local_cpu_data().__softirq_pending)
14 
15 void ack_bad_irq(unsigned int irq);
16 
17 #endif /* !(__SPARC64_HARDIRQ_H) */
18