summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c-mux.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paul.mckenney@linaro.org>2012-08-02 17:43:50 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2012-09-23 07:43:55 -0700
commit1331e7a1bbe1f11b19c4327ba0853bee2a606543 (patch)
tree596d9ed379ef7e2c5d8cf1cc0ba56ade084548ec /include/linux/i2c-mux.h
parenta10d206ef1a83121ab7430cb196e0376a7145b22 (diff)
downloadblackbird-op-linux-1331e7a1bbe1f11b19c4327ba0853bee2a606543.tar.gz
blackbird-op-linux-1331e7a1bbe1f11b19c4327ba0853bee2a606543.zip
rcu: Remove _rcu_barrier() dependency on __stop_machine()
Currently, _rcu_barrier() relies on preempt_disable() to prevent any CPU from going offline, which in turn depends on CPU hotplug's use of __stop_machine(). This patch therefore makes _rcu_barrier() use get_online_cpus() to block CPU-hotplug operations. This has the added benefit of removing the need for _rcu_barrier() to adopt callbacks: Because CPU-hotplug operations are excluded, there can be no callbacks to adopt. This commit simplifies the code accordingly. Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'include/linux/i2c-mux.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud