diff options
| author | Paul E. McKenney <paulmck@linux.ibm.com> | 2018-10-22 17:43:22 +0300 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2018-11-09 08:41:57 +0300 |
| commit | 042d4c70a203998697b34eaad1a99f6f09d09e4d (patch) | |
| tree | 0209f1adcbbf1f08f79045ae9eae1b49f04ca3ff /scripts/patch-kernel | |
| parent | 651022382c7f8da46cb4872a545ee1da6d097d2a (diff) | |
| download | linux-042d4c70a203998697b34eaad1a99f6f09d09e4d.tar.xz | |
rcu: Eliminate BUG_ON() for sync.c
The sync.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
changes these BUG_ON() calls to WARN_ON_ONCE(), but does so quite naively.
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
