[2.2.14pre9] Breaks userland scsi.h compiles

Aaron Tiensivu (mojomofo@ctechnix.com)
Mon, 29 Nov 1999 01:38:40 -0500


Just needs a simple #ifdef wrapper:

--- linux/include/scsi/scsi.h.virgin Sun Nov 28 21:29:06 1999
+++ linux/include/scsi/scsi.h Sun Nov 28 21:29:31 1999
@@ -18,7 +18,9 @@
* SCSI opcodes
*/

+#ifdef __KERNEL__
extern spinlock_t scsi_malloc_lock;
+#endif

#define TEST_UNIT_READY 0x00
#define REZERO_UNIT 0x01

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/