patch-2.1.87 linux/include/linux/blk.h

Next file: linux/include/linux/pci.h
Previous file: linux/include/asm-sparc64/ioctls.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.86/linux/include/linux/blk.h linux/include/linux/blk.h
@@ -5,6 +5,15 @@
 #include <linux/locks.h>
 #include <linux/config.h>
 
+#include <asm/spinlock.h>
+
+/*
+ * Spinlock for protecting the request queue which
+ * is mucked around with in interrupts on potentially
+ * multiple CPU's..
+ */
+extern spinlock_t current_lock;
+
 /*
  * NR_REQUEST is the number of entries in the request-queue.
  * NOTE that writes may use only the low 2/3 of these: reads

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov