1 /* interrupt.h */
2 #ifndef _LINUX_INTERRUPT_H
3 #define _LINUX_INTERRUPT_H
4
5 struct bh_struct {
6 void (*routine)(void *);
7 void *data;
8 };
9
10 extern int bh_active;
11 extern struct bh_struct bh_base[32];
12
13 /* Who gets which entry in bh_base. Things which will occur most often
14 should come first. */
15 enum {
16 TIMER_BH = 0,
17 CONSOLE_BH,
18 SERIAL_BH,
19 INET_BH
20 };
21
22 void do_bottom_half();
23
24 #endif