patch-2.4.19 linux-2.4.19/include/linux/mtd/compatmac.h
Next file: linux-2.4.19/include/linux/mtd/concat.h
Previous file: linux-2.4.19/include/linux/module.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/linux/mtd/compatmac.h
- Orig date:
Mon Dec 11 13:16:42 2000
diff -urN linux-2.4.18/include/linux/mtd/compatmac.h linux-2.4.19/include/linux/mtd/compatmac.h
@@ -190,8 +190,8 @@
#if LINUX_VERSION_CODE < 0x20300
#include <linux/interrupt.h>
-#define spin_lock_bh(lock) do {start_bh_atomic();spin_lock(lock);}while(0);
-#define spin_unlock_bh(lock) do {spin_unlock(lock);end_bh_atomic();}while(0);
+#define spin_lock_bh(lock) do {start_bh_atomic();spin_lock(lock);} while(0)
+#define spin_unlock_bh(lock) do {spin_unlock(lock);end_bh_atomic();} while(0)
#else
#include <asm/softirq.h>
#include <linux/spinlock.h>
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)