Revision 9ef9ac51cc5fa5f5811230b5fb242536b636ff47 authored by Ben Dooks on 23 July 2005, 16:25:18 UTC, committed by Jeff Garzik on 18 August 2005, 20:59:14 UTC
Fix DM9000 driver usage of spinlocks, which mainly came to light
when running a kernel with spinlock debugging. These come down to:

1) Un-initialised spin lock

2) Several cases of using  spin_xxx(lock) and not spin_xxx(&lock)

3) move the locking around the phy reg for read/write to only
   keep the lock when actually reading or writing to the phy.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
1 parent a4cf076
History
File Mode Size
keys
selinux
Kconfig -rw-r--r-- 2.7 KB
Makefile -rw-r--r-- 591 bytes
capability.c -rw-r--r-- 2.8 KB
commoncap.c -rw-r--r-- 9.4 KB
dummy.c -rw-r--r-- 22.5 KB
root_plug.c -rw-r--r-- 3.9 KB
seclvl.c -rw-r--r-- 20.1 KB
security.c -rw-r--r-- 6.0 KB

back to top