commit | f0ad56e876cdd67730065274625edbcfe0cca278 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.ibm.com> | Mon Oct 22 08:33:06 2018 -0700 |
committer | Paul E. McKenney <paulmck@linux.ibm.com> | Mon Nov 12 08:15:59 2018 -0800 |
tree | d29ef247705f788e9b9b148da3e2d1f020b95621 | |
parent | 9213784b48f8ba666b4695ca3f5d34f583daab83 [diff] |
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>