summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.ibm.com>2018-10-22 18:04:03 +0300
committerPaul E. McKenney <paulmck@linux.ibm.com>2018-11-09 08:41:57 +0300
commit08543bda42ef06c5ee4cd74501c894aa7cc13ea8 (patch)
tree41249a4a05ffa2faf9200e57a607601a84c188ec /scripts/gdb/linux/utils.py
parent042d4c70a203998697b34eaad1a99f6f09d09e4d (diff)
downloadlinux-08543bda42ef06c5ee4cd74501c894aa7cc13ea8.tar.xz
rcu: Eliminate BUG_ON() for kernel/rcu/tree.c
The tree.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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions