summaryrefslogtreecommitdiff
path: root/mm/usercopy.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.ibm.com>2018-10-22 08:26:00 -0700
committerPaul E. McKenney <paulmck@linux.ibm.com>2018-11-12 08:15:16 -0800
commit9213784b48f8ba666b4695ca3f5d34f583daab83 (patch)
tree85e18021d0a25c3f524cd2903124e9387bea98ba /mm/usercopy.c
parent08543bda42ef06c5ee4cd74501c894aa7cc13ea8 (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/. ]
Diffstat (limited to 'mm/usercopy.c')
0 files changed, 0 insertions, 0 deletions