commit | 9213784b48f8ba666b4695ca3f5d34f583daab83 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.ibm.com> | Mon Oct 22 08:26:00 2018 -0700 |
committer | Paul E. McKenney <paulmck@linux.ibm.com> | Mon Nov 12 08:15:16 2018 -0800 |
tree | 85e18021d0a25c3f524cd2903124e9387bea98ba | |
parent | 08543bda42ef06c5ee4cd74501c894aa7cc13ea8 [diff] |
rcu: Eliminate BUG_ON() for kernel/rcu/tree_plugin.h The tree_plugin.h file has a number of calls to BUG_ON(), which panics the kernel, which is not a good strategy for devices (like embedded) that don't have a way to capture console output. This commit therefore converts these BUG_ON() calls to WARN_ON_ONCE() and WARN_ONCE(). Reported-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com> [ paulmck: Fix typo: s/rcuo/rcub/. ]