[S390] cio: Use locks when accessing /sys/firmware/cpi data.
authorMichael Ernst <mernst@de.ibm.com>
Mon, 14 Jul 2008 07:57:24 +0000 (09:57 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Mon, 14 Jul 2008 08:01:59 +0000 (10:01 +0200)
commitb1c02d9110e72ec510ec9b038f9564e3c0d87384
tree7c7e75d9230ffbbc29e7424736973f79cbdf50ba
parent9689b336e193680fc0fcaa33829dc670637e9c98
[S390] cio: Use locks when accessing /sys/firmware/cpi data.

Mutex locks are used to avoid problems when /sys/firmware/cpi data
are accessed to in parallel.

Signed-off-by: Michael Ernst <mernst@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
drivers/s390/char/sclp_cpi_sys.c