patch-2.4.19 linux-2.4.19/include/asm-mips/softirq.h

Next file: linux-2.4.19/include/asm-mips/spinlock.h
Previous file: linux-2.4.19/include/asm-mips/sni.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-mips/softirq.h linux-2.4.19/include/asm-mips/softirq.h
@@ -13,13 +13,13 @@
 #include <asm/atomic.h>
 #include <asm/hardirq.h>
 
-extern inline void cpu_bh_disable(int cpu)
+static inline void cpu_bh_disable(int cpu)
 {
 	local_bh_count(cpu)++;
 	barrier();
 }
  
-extern inline void __cpu_bh_enable(int cpu)
+static inline void __cpu_bh_enable(int cpu)
 {
 	barrier();
 	local_bh_count(cpu)--;
@@ -40,6 +40,4 @@
 
 #define in_softirq() (local_bh_count(smp_processor_id()) != 0)
 
-#define __cpu_raise_softirq(cpu, nr)	set_bit(nr, &softirq_pending(cpu))
-
 #endif /* _ASM_SOFTIRQ_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)