Ok. I didn't make 2.4.0 in 2000. Tough. I tried, but we had some
[davej-history.git] / include / asm-sparc64 / softirq.h
blobcce84e9008906a9aadb97d2976eae188b579f33b
1 /* softirq.h: 64-bit Sparc soft IRQ support.
3 * Copyright (C) 1997, 1998 David S. Miller (davem@caip.rutgers.edu)
4 */
6 #ifndef __SPARC64_SOFTIRQ_H
7 #define __SPARC64_SOFTIRQ_H
9 #include <asm/atomic.h>
10 #include <asm/hardirq.h>
11 #include <asm/system.h> /* for membar() */
13 #define local_bh_disable() (local_bh_count(smp_processor_id())++)
14 #define local_bh_enable() (local_bh_count(smp_processor_id())--)
16 #define in_softirq() (local_bh_count(smp_processor_id()) != 0)
18 #endif /* !(__SPARC64_SOFTIRQ_H) */