diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1999-10-09 00:00:47 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1999-10-09 00:00:47 +0000 |
commit | d6434e1042f3b0a6dfe1b1f615af369486f9b1fa (patch) | |
tree | e2be02f33984c48ec019c654051d27964e42c441 /include/asm-m68k/softirq.h | |
parent | 609d1e803baf519487233b765eb487f9ec227a18 (diff) |
Merge with 2.3.19.
Diffstat (limited to 'include/asm-m68k/softirq.h')
-rw-r--r-- | include/asm-m68k/softirq.h | 3 |
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()]++; |