[SCSI] libsas: replace event locks with atomic bitops
authorDan Williams <dan.j.williams@intel.com>
Fri, 18 Nov 2011 01:59:49 +0000 (17:59 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 19 Feb 2012 19:41:04 +0000 (13:41 -0600)
commitb15ebe0b5d0b95aeb1d84cae3649df1e0e065e9b
treeff93ad5f8be5fe91c7e6cf4963253491ddd058fb
parent756f173fb5fa90ec15222e80fb579288be7794fd
[SCSI] libsas: replace event locks with atomic bitops

The locks only served to make sure the pending event bitmask was updated
consistently.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/libsas/sas_discover.c
drivers/scsi/libsas/sas_event.c
drivers/scsi/libsas/sas_init.c
drivers/scsi/libsas/sas_internal.h
drivers/scsi/libsas/sas_phy.c
drivers/scsi/libsas/sas_port.c
include/scsi/libsas.h