Re: [PATCH] linux/include/scsi/scsi.h for pcmcia-cs

Jens Axboe (axboe@image.dk)
Thu, 2 Dec 1999 18:57:26 +0000


On Fri, Dec 03 1999, Yasuhide OOMORI wrote:
> --- linux-2.2.14pre9/include/scsi/scsi.h.orig Thu Dec 2 10:13:13 1999
> +++ linux-2.2.14pre9/include/scsi/scsi.h Thu Dec 2 10:53:35 1999
> @@ -18,6 +18,8 @@
> * SCSI opcodes
> */
>
> +#include <asm/spinlock.h>
> +
> extern spinlock_t scsi_malloc_lock;
>
> #define TEST_UNIT_READY 0x00

Right fix is to move extern declaration to drivers/scsi/scsi.h,
it should not be seen by user space apps anyway.

-- 
*  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/