diff options
author | Martijn Coenen <maco@android.com> | 2017-08-31 10:04:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-01 09:21:57 +0200 |
commit | 858b2719686ddd0ab5fc77479a46d16f90e6b7da (patch) | |
tree | 31ce51f18aab399e037ae86e88ccb4b4bdbc0459 /drivers/android/binder_alloc_selftest.c | |
parent | abcc61537e3566cae7f1fd225f2dcb82b3595fe3 (diff) |
ANDROID: binder: Don't BUG_ON(!spin_is_locked()).
Because is_spin_locked() always returns false on UP
systems.
Use assert_spin_locked() instead, and remove the
WARN_ON() instances, since those were easy to verify.
Signed-off-by: Martijn Coenen <maco@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android/binder_alloc_selftest.c')
0 files changed, 0 insertions, 0 deletions