patch-2.3.4 linux/include/net/ip_masq.h

Next file: linux/include/net/irda/crc.h
Previous file: linux/include/net/ip.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.3/linux/include/net/ip_masq.h linux/include/net/ip_masq.h
@@ -231,24 +231,6 @@
 
 extern rwlock_t __ip_masq_lock;
 
-#ifdef __SMP__
-#define read_lock_bh(lock) 	do { start_bh_atomic(); read_lock(lock); \
-					} while (0)
-#define read_unlock_bh(lock)	do { read_unlock(lock); end_bh_atomic(); \
-					} while (0)
-#define write_lock_bh(lock)	do { start_bh_atomic(); write_lock(lock); \
-					} while (0)
-#define write_unlock_bh(lock)	do { write_unlock(lock); end_bh_atomic(); \
-					} while (0)
-#else
-#define read_lock_bh(lock)	start_bh_atomic()
-#define read_unlock_bh(lock)	end_bh_atomic()
-#define write_lock_bh(lock)	start_bh_atomic()
-#define write_unlock_bh(lock)	end_bh_atomic()
-#endif 
-/*
- *
- */
 
 /*
  *	Debugging stuff

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