patch-2.2.18 linux/drivers/char/rio/rio_linux.h
Next file: linux/drivers/char/rio/rioboot.c
Previous file: linux/drivers/char/rio/rio_linux.c
Back to the patch index
Back to the overall index
- Lines: 35
- Date:
Thu Dec 7 14:45:41 2000
- Orig file:
v2.2.17/drivers/char/rio/rio_linux.h
- Orig date:
Sat Sep 9 18:42:35 2000
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/drivers/char/rio/rio_linux.h linux/drivers/char/rio/rio_linux.h
@@ -94,22 +94,22 @@
recompile.... */
#if 1
#define rio_spin_lock_irqsave(sem, flags) do { \
+ spin_lock_irqsave(sem, flags);\
rio_dprintk (RIO_DEBUG_SPINLOCK, "spinlockirqsave: %p %s:%d\n", \
sem, __FILE__, __LINE__);\
- spin_lock_irqsave(sem, flags);\
} while (0)
#define rio_spin_unlock_irqrestore(sem, flags) do { \
rio_dprintk (RIO_DEBUG_SPINLOCK, "spinunlockirqrestore: %p %s:%d\n",\
sem, __FILE__, __LINE__);\
- spin_unlock_irqrestore(sem, flags);\
+ spin_unlock_irqrestore(sem, flags);\
} while (0)
#define rio_spin_lock(sem) do { \
+ spin_lock(sem);\
rio_dprintk (RIO_DEBUG_SPINLOCK, "spinlock: %p %s:%d\n",\
sem, __FILE__, __LINE__);\
- spin_lock(sem);\
} while (0)
#define rio_spin_unlock(sem) do { \
@@ -165,7 +165,7 @@
#define rio_memcpy_fromio memcpy_fromio
#endif
-#define DEBUG
+#define DEBUG 1
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)