diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2018-10-22 18:26:00 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2018-11-12 19:15:16 +0300 |
commit | 9213784b48f8ba666b4695ca3f5d34f583daab83 (patch) | |
tree | 85e18021d0a25c3f524cd2903124e9387bea98ba /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 08543bda42ef06c5ee4cd74501c894aa7cc13ea8 (diff) | |
download | linux-9213784b48f8ba666b4695ca3f5d34f583daab83.tar.xz |
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/. ]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions