aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2017-08-29 08:50:11 -0700
committerMartin K. Petersen <[email protected]>2017-08-29 21:51:41 -0400
commit26e3e3cb05604073f2e9969fb0f06f35eb3b3313 (patch)
treefbdb1b52fa018e2dde35c9956aacfbd3636dfc1b /drivers/fpga/fpga-mgr.c
parentfbf252335f8e2bd39d4ce59b1db0836a40ab227b (diff)
scsi: rcu: Introduce rcu_swap_protected()
A common pattern in RCU code is to assign a new value to an RCU pointer after having read and stored the old value. Introduce a macro for this pattern. Signed-off-by: Bart Van Assche <[email protected]> Acked-by: Paul E. McKenney <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Hannes Reinecke <[email protected]> Cc: Johannes Thumshirn <[email protected]> Cc: Shane M Seymour <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions