]> git.baikalelectronics.ru Git - kernel.git/commit
ANDROID: binder: Don't BUG_ON(!spin_is_locked()).
authorMartijn Coenen <maco@android.com>
Thu, 31 Aug 2017 08:04:26 +0000 (10:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Sep 2017 07:21:57 +0000 (09:21 +0200)
commit2f3a1b1d90a200c5d3be65be6aebe25817a3e600
tree31ce51f18aab399e037ae86e88ccb4b4bdbc0459
parent75c5b3e9fcf906fc735dfb8a503cf2d60e0bae0b
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>
drivers/android/binder.c