diff options
author | Martijn Coenen <maco@android.com> | 2017-08-31 11:04:26 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-01 10:21:57 +0300 |
commit | 858b2719686ddd0ab5fc77479a46d16f90e6b7da (patch) | |
tree | 31ce51f18aab399e037ae86e88ccb4b4bdbc0459 /drivers/ata/pata_platform.c | |
parent | abcc61537e3566cae7f1fd225f2dcb82b3595fe3 (diff) | |
download | linux-858b2719686ddd0ab5fc77479a46d16f90e6b7da.tar.xz |
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/ata/pata_platform.c')
0 files changed, 0 insertions, 0 deletions