Messages in this thread | | | Date | Mon, 29 Nov 1999 23:22:56 +0000 | From | Jens Axboe <> | Subject | Re: [2.2.14pre9] Breaks userland scsi.h compiles |
| |
On Mon, Nov 29 1999, Aaron Tiensivu wrote: > 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
This is my bad, I was to quick in adding. The correct place to put the definition is in drivers/scsi/scsi.h as it is (as you note) not meant to be seen by user space at all.
-- * Jens Axboe <axboe@image.dk> * Linux CD-ROM Maintainer * http://www.kernel.dk
- 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/
| |