[parisc-linux] Re: [parisc-linux-cvs] linux willy
Matthew Wilcox
willy@debian.org
Mon, 3 Sep 2001 19:11:28 +0100
On Mon, Sep 03, 2001 at 12:08:37PM -0600, Matthew Wilcox wrote:
> Log message:
> Unlock the lock, not the device!
Index: arch/parisc/kernel/drivers.c
===================================================================
RCS file: /home/cvs/parisc/linux/arch/parisc/kernel/drivers.c,v
retrieving revision 1.22
diff -u -p -r1.22 drivers.c
--- drivers.c 2001/09/01 08:30:49 1.22
+++ drivers.c 2001/09/03 18:08:14
@@ -248,7 +248,7 @@ struct parisc_device *alloc_pa_dev(unsig
num_devices++;
- write_unlock(&pa_dev);
+ write_unlock(&pa_lock);
return dev;
}
Thanks to Ben Collins for this patch.
--
Revolutions do not require corporate support.