[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)
commit9588d24e36003b53f76e43b4fadfc5b35207be04
treef07e3a9eff31669e00473fae824cccaad9e65996
parenta1f7177a1bc68cf43ed7f5a50c9a7220b0e1662f
[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
This page took 0.026771 seconds and 5 git commands to generate.