Re: [ANNOUNCE] megaraid linux driver version 2.00.7

From: 'Christoph Hellwig' (hch@infradead.org)
Date: Wed Aug 06 2003 - 00:43:53 EST


On Tue, Aug 05, 2003 at 06:09:10PM -0400, Mukker, Atul wrote:
> > + spin_lock_irqsave(adapter->host->host_lock, flags);
> But all kernels do not have this lock as part of the host structure. With
> 2.00.7, I have relapsed a patch which switches the lock to io_request_lock
> if kernel does not support per host lock.
>
> And not all kernels have the per host lock named as "host->host_lock", some
> simply have "host->lock"A

All 2.5/2.6 kernels do have host->host_lock and the 2.5 driver is different
from the 2.4 one. In fact it will hopefuloly become &host->host_lock soon
but for that I have to repair the remaining abusers first.

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



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:31 EST