summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/tree_plugin.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.ibm.com>2018-10-22 17:33:06 +0200
committerPaul E. McKenney <paulmck@linux.ibm.com>2018-11-12 17:15:59 +0100
commitf0ad56e876cdd67730065274625edbcfe0cca278 (patch)
treed29ef247705f788e9b9b148da3e2d1f020b95621 /kernel/rcu/tree_plugin.h
parentrcu: Eliminate BUG_ON() for kernel/rcu/tree_plugin.h (diff)
downloadlinux-f0ad56e876cdd67730065274625edbcfe0cca278.tar.xz
linux-f0ad56e876cdd67730065274625edbcfe0cca278.zip
rcu: Eliminate BUG_ON() for kernel/rcu/update.c
The update.c 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>
Diffstat (limited to 'kernel/rcu/tree_plugin.h')
0 files changed, 0 insertions, 0 deletions