1 /* softirq.h: 64-bit Sparc soft IRQ support.
2 *
3 * Copyright (C) 1997, 1998 David S. Miller (davem@caip.rutgers.edu)
4 */
5
6 #ifndef __SPARC64_SOFTIRQ_H
7 #define __SPARC64_SOFTIRQ_H
8
9 #include <asm/atomic.h>
10 #include <asm/hardirq.h>
11 #include <asm/system.h> /* for membar() */
12
13 #define local_bh_disable() (local_bh_count(smp_processor_id())++)
14 #define local_bh_enable() (local_bh_count(smp_processor_id())--)
15
16 #define in_softirq() (local_bh_count(smp_processor_id()) != 0)
17
18 #endif /* !(__SPARC64_SOFTIRQ_H) */
19
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.