blob: 7c29fd1a87aa4289e78bb7297a4ce41c133cce63 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/* hardirq.h: 64-bit Sparc hard IRQ support.
2 *
David S. Millerd7ce78f2005-08-29 22:46:43 -07003 * Copyright (C) 1997, 1998, 2005 David S. Miller (davem@davemloft.net)
Linus Torvalds1da177e2005-04-16 15:20:36 -07004 */
5
6#ifndef __SPARC64_HARDIRQ_H
7#define __SPARC64_HARDIRQ_H
8
David S. Millerd7ce78f2005-08-29 22:46:43 -07009#include <asm/cpudata.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
David S. Millerd7ce78f2005-08-29 22:46:43 -070011#define __ARCH_IRQ_STAT
12#define local_softirq_pending() \
13 (local_cpu_data().__softirq_pending)
Linus Torvalds1da177e2005-04-16 15:20:36 -070014
David S. Millere18e2a02006-06-20 01:23:32 -070015void ack_bad_irq(unsigned int irq);
16
Linus Torvalds1da177e2005-04-16 15:20:36 -070017#define HARDIRQ_BITS 8
18
19#endif /* !(__SPARC64_HARDIRQ_H) */