Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
[linux-2.6] / include / asm-sparc64 / hardirq.h
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 #define HARDIRQ_BITS    8
18
19 #endif /* !(__SPARC64_HARDIRQ_H) */