Messages in this thread | | | Date | Wed, 6 Aug 2003 06:43:53 +0100 | From | 'Christoph Hellwig' <> | Subject | Re: [ANNOUNCE] megaraid linux driver version 2.00.7 |
| |
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/
| |