diff options
Diffstat (limited to 'linux/src/include/linux/interrupt.h')
-rw-r--r-- | linux/src/include/linux/interrupt.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linux/src/include/linux/interrupt.h b/linux/src/include/linux/interrupt.h index 5765260..0224475 100644 --- a/linux/src/include/linux/interrupt.h +++ b/linux/src/include/linux/interrupt.h @@ -43,14 +43,14 @@ enum { ISICOM_BH }; -extern inline void init_bh(int nr, void (*routine)(void)) +static inline void init_bh(int nr, void (*routine)(void)) { bh_base[nr] = routine; bh_mask_count[nr] = 0; bh_mask |= 1 << nr; } -extern inline void mark_bh(int nr) +static inline void mark_bh(int nr) { set_bit(nr, &bh_active); } @@ -59,13 +59,13 @@ extern inline void mark_bh(int nr) * These use a mask count to correctly handle * nested disable/enable calls */ -extern inline void disable_bh(int nr) +static inline void disable_bh(int nr) { bh_mask &= ~(1 << nr); bh_mask_count[nr]++; } -extern inline void enable_bh(int nr) +static inline void enable_bh(int nr) { if (!--bh_mask_count[nr]) bh_mask |= 1 << nr; @@ -75,13 +75,13 @@ extern inline void enable_bh(int nr) * start_bh_atomic/end_bh_atomic also nest * naturally by using a counter */ -extern inline void start_bh_atomic(void) +static inline void start_bh_atomic(void) { intr_count++; barrier(); } -extern inline void end_bh_atomic(void) +static inline void end_bh_atomic(void) { barrier(); intr_count--; |