summaryrefslogtreecommitdiffstats
path: root/include/linux/interrupt.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-02-24 00:12:35 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-02-24 00:12:35 +0000
commit482368b1a8e45430672c58c9a42e7d2004367126 (patch)
treece2a1a567d4d62dee7c2e71a46a99cf72cf1d606 /include/linux/interrupt.h
parente4d0251c6f56ab2e191afb70f80f382793e23f74 (diff)
Merge with 2.3.47. Guys, this is buggy as shit. You've been warned.
Diffstat (limited to 'include/linux/interrupt.h')
-rw-r--r--include/linux/interrupt.h24
1 files changed, 3 insertions, 21 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index 29a42aef8..8e33913d3 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -4,6 +4,7 @@
#include <linux/kernel.h>
#include <linux/smp.h>
+#include <linux/cache.h>
#include <asm/bitops.h>
#include <asm/atomic.h>
@@ -22,7 +23,6 @@ struct irqaction {
enum {
TIMER_BH = 0,
- CONSOLE_BH,
TQUEUE_BH,
DIGI_BH,
SERIAL_BH,
@@ -46,8 +46,8 @@ enum {
/* PLEASE, avoid to allocate new softirqs, if you need not _really_ high
frequency threaded job scheduling. For almost all the purposes
- tasklets are more than enough. F.e. KEYBOARD_BH, CONSOLE_BH, all serial
- device BHs et al. are converted to tasklets, not to softirqs.
+ tasklets are more than enough. F.e. all serial device BHs et
+ al. should be converted to tasklets, not to softirqs.
*/
enum
@@ -242,24 +242,6 @@ extern __inline__ void mark_bh(int nr)
tasklet_hi_schedule(bh_task_vec+nr);
}
-extern __inline__ void disable_bh_nosync(int nr)
-{
- tasklet_disable_nosync(bh_task_vec+nr);
-}
-
-extern __inline__ void disable_bh(int nr)
-{
- tasklet_disable_nosync(bh_task_vec+nr);
- if (!in_interrupt())
- tasklet_unlock_wait(bh_task_vec+nr);
-}
-
-extern __inline__ void enable_bh(int nr)
-{
- tasklet_enable(bh_task_vec+nr);
-}
-
-
extern void init_bh(int nr, void (*routine)(void));
extern void remove_bh(int nr);