Messages in this thread Patch in this message | | | Date | Mon, 1 Nov 2004 15:36:33 +0100 | From | Ingo Molnar <> | Subject | Re: [Fwd: Re: [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.4] |
| |
* Mark_H_Johnson@raytheon.com <Mark_H_Johnson@raytheon.com> wrote:
> Hmm. I was in the middle of a V0.6.4 build when I saw this message. > I let it run but the build stopped with the following error: > > CC [M] drivers/scsi/qla2xxx/qla_os.o > CC [M] drivers/usb/media/stv680.o > drivers/scsi/qla2xxx/qla_os.c: In function `qla2x00_do_dpc': > drivers/scsi/qla2xxx/qla_os.c:3193: warning: implicit declaration of > function `DECLARE_MUTEX_LOCKED'
the patch below should fix it, will be in the next release.
Ingo
--- linux/drivers/scsi/qla2xxx/qla_os.c.orig +++ linux/drivers/scsi/qla2xxx/qla_os.c @@ -3190,7 +3190,7 @@ qla2x00_free_sp_pool( scsi_qla_host_t *h static int qla2x00_do_dpc(void *data) { - DECLARE_MUTEX_LOCKED(sem); + DECLARE_MUTEX(sem); scsi_qla_host_t *ha; fc_port_t *fcport; os_lun_t *q; @@ -3204,6 +3204,8 @@ qla2x00_do_dpc(void *data) int t; os_tgt_t *tq; + down(&sem); + ha = (scsi_qla_host_t *)data; lock_kernel(); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |