summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/fakephp.c
diff options
context:
space:
mode:
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>2008-09-29 17:06:46 +0200
committerIngo Molnar <mingo@elte.hu>2008-09-30 12:08:41 +0200
commit1c50b728c3e734150b8a4a8310ce3e01bc5c70be (patch)
treea9781d8dcdb575a91e7c9e374977d473b87fcad8 /drivers/pci/hotplug/fakephp.c
parentrcu: fix sparse shadowed variable warning (diff)
downloadlinux-1c50b728c3e734150b8a4a8310ce3e01bc5c70be.tar.xz
linux-1c50b728c3e734150b8a4a8310ce3e01bc5c70be.zip
rcu: add rcu_read_lock_sched() / rcu_read_unlock_sched()
Add rcu_read_lock_sched() and rcu_read_unlock_sched() to rcupdate.h to match the recently added write-side call_rcu_sched() and rcu_barrier_sched(). They also match the no-so-recently-added synchronize_sched(). It will help following matching use of the update/read lock primitives. Those new read lock will replace preempt_disable()/enable() used in pair with RCU-classic synchronization. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> Acked-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/pci/hotplug/fakephp.c')
0 files changed, 0 insertions, 0 deletions