aboutsummaryrefslogtreecommitdiff
path: root/lib/locking-selftest-rlock-hardirq.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2008-02-05 00:02:14 +0000
committerJeff Garzik <jeff@garzik.org>2008-02-11 11:06:31 -0500
commit621ddcb0461baee26a5e7c86a76938f0aa83dec1 (patch)
tree40fed02f95849d05370ee7bb59df63852ee13fe1 /lib/locking-selftest-rlock-hardirq.h
parent3927f1c88efc25b2972c8cbd7ed10d5f1b88b52a (diff)
DM9000: Ensure spinlock held whilst accessing EEPROM registers
Ensure we hold the spinlock whilst the registers and being modified even though we hold the overall lock. This should protect against an interrupt happening whilst we are using the device. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'lib/locking-selftest-rlock-hardirq.h')
0 files changed, 0 insertions, 0 deletions