]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] esas2r: Directly call kernel functions for atomic bit operations
authorBradley Grove <bgrove@attotech.com>
Tue, 1 Oct 2013 18:26:01 +0000 (14:26 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 25 Oct 2013 08:58:59 +0000 (09:58 +0100)
commit71c8e6618f50ac478e11a1cc6738969d57bf67b7
treef07e3a9eff31669e00473fae824cccaad9e65996
parent794cb159aea3e011c0e235edb14dc2ad43b0c2d3
[SCSI] esas2r: Directly call kernel functions for atomic bit operations

Previously the code embedded the kernel's test_bit/clear_bit
functions in wrappers that accepted u32 parameters.  The
wrapper cast these parameters to longs before passing them
to the kernel's bit functions.   This did not work properly
on platforms with 64-bit longs.

Signed-off-by: Bradley Grove <bgrove@attotech.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/esas2r/esas2r.h
drivers/scsi/esas2r/esas2r_disc.c
drivers/scsi/esas2r/esas2r_flash.c
drivers/scsi/esas2r/esas2r_init.c
drivers/scsi/esas2r/esas2r_int.c
drivers/scsi/esas2r/esas2r_io.c
drivers/scsi/esas2r/esas2r_ioctl.c
drivers/scsi/esas2r/esas2r_main.c
drivers/scsi/esas2r/esas2r_targdb.c
drivers/scsi/esas2r/esas2r_vda.c