linux-sg2042/drivers/s390
Sebastian Ott 7d253b9a1a [S390] cio: remove registered flag from ccw_device_private
We used to maintain a "registered" flag in our ccw_device_private
structure. This patch removes the "registered" flag and converts
all users of it to device_is_registered which has the exact same
meaning.

Note: The usage the atomic operation test_and_clear_bit is replaced
by the non-atomic if (device_is_registered()) device_del(). This
will not do harm, since we serialize calls to ccw_device_unregister
with a single-threaded workqueue.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2009-12-07 12:51:32 +01:00
..
block [S390] cio: split PGID settings and status 2009-12-07 12:51:31 +01:00
char [S390] cio: split PGID settings and status 2009-12-07 12:51:31 +01:00
cio [S390] cio: remove registered flag from ccw_device_private 2009-12-07 12:51:32 +01:00
crypto [S390] zcrypt: Improve some comments 2009-10-06 10:35:09 +02:00
kvm [S390] kvm: use console_initcall() to initialize s390 virtio console 2009-09-11 10:29:52 +02:00
net [S390] s/r: cmm resume fix 2009-10-29 15:05:12 +01:00
scsi [SCSI] zfcp: Flush SCSI registration work when adding unit 2009-10-22 09:38:51 +09:00
Makefile [S390] split/move machine check handler code 2009-03-26 15:24:10 +01:00