diff options
author | Josh Triplett <[email protected]> | 2013-09-01 16:42:52 -0700 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2013-12-12 12:19:22 -0800 |
commit | 9d162cd06349dfee6b4f254b3abf1355cf0aee43 (patch) | |
tree | 307513abf19d6dffb78929c1c60f4a68f59d903a /drivers/scsi/mpt3sas/mpi/mpi2_raid.h | |
parent | 36708b89e00951b004b4dd6c14181301e2e98354 (diff) |
rcu: Make rcu_assign_pointer's assignment volatile and type-safe
The rcu_assign_pointer() primitive needs to use ACCESS_ONCE to make
the assignment to the destination pointer volatile, to protect against
compilers too clever for their own good.
Signed-off-by: Josh Triplett <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions