summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/softirq.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-10-09 00:00:47 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-10-09 00:00:47 +0000
commitd6434e1042f3b0a6dfe1b1f615af369486f9b1fa (patch)
treee2be02f33984c48ec019c654051d27964e42c441 /include/asm-m68k/softirq.h
parent609d1e803baf519487233b765eb487f9ec227a18 (diff)
Merge with 2.3.19.
Diffstat (limited to 'include/asm-m68k/softirq.h')
-rw-r--r--include/asm-m68k/softirq.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-m68k/softirq.h b/include/asm-m68k/softirq.h
index dc5f56728..f27b11256 100644
--- a/include/asm-m68k/softirq.h
+++ b/include/asm-m68k/softirq.h
@@ -46,6 +46,9 @@ extern inline void remove_bh(int nr)
extern unsigned int local_bh_count[NR_CPUS];
+#define local_bh_disable() (local_bh_count[smp_processor_id()]++)
+#define local_bh_enable() (local_bh_count[smp_processor_id()]--)
+
extern inline void start_bh_atomic(void)
{
local_bh_count[smp_processor_id()]++;