Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* hardirq.h: 64-bit Sparc hard IRQ support. |
| 2 | * |
David S. Miller | d7ce78f | 2005-08-29 22:46:43 -0700 | [diff] [blame] | 3 | * Copyright (C) 1997, 1998, 2005 David S. Miller (davem@davemloft.net) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef __SPARC64_HARDIRQ_H |
| 7 | #define __SPARC64_HARDIRQ_H |
| 8 | |
David S. Miller | d7ce78f | 2005-08-29 22:46:43 -0700 | [diff] [blame] | 9 | #include <asm/cpudata.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | |
David S. Miller | d7ce78f | 2005-08-29 22:46:43 -0700 | [diff] [blame] | 11 | #define __ARCH_IRQ_STAT |
| 12 | #define local_softirq_pending() \ |
| 13 | (local_cpu_data().__softirq_pending) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 14 | |
David S. Miller | e18e2a0 | 2006-06-20 01:23:32 -0700 | [diff] [blame] | 15 | void ack_bad_irq(unsigned int irq); |
| 16 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | #define HARDIRQ_BITS 8 |
| 18 | |
| 19 | #endif /* !(__SPARC64_HARDIRQ_H) */ |