linux/drivers/s390
Heiko Carstens 98c1c68252 [S390] cio/crw: add/fix locking
The crw_unregister_handler uses xchg + synchronize_sched when
unregistering a crw_handler.
This doesn't protect crw_collect_info to potentially jump to NULL since
it has unlocked code like this:

if (crw_handlers[i])
        crw_handlers[i](NULL, NULL, 1);

So add a mutex which protects the crw handler array for changes.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2009-03-26 15:24:13 +01:00
..
block [S390] dasd: message cleanup 2009-03-26 15:24:05 +01:00
char [S390] Automatic IPL after dump 2009-03-26 15:24:03 +01:00
cio [S390] cio/crw: add/fix locking 2009-03-26 15:24:13 +01:00
crypto s390: remove s390_root_dev_*() 2009-01-06 10:44:34 -08:00
kvm s390: remove s390_root_dev_*() 2009-01-06 10:44:34 -08:00
net lcs: fix compilation for !CONFIG_IP_MULTICAST 2009-01-25 17:59:26 -08:00
scsi [SCSI] zfcp: Remove unnecessary warning message 2008-12-29 11:38:29 -06:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00