binder: refactor binder_pop_transaction
authorTodd Kjos <tkjos@android.com>
Thu, 29 Jun 2017 19:01:54 +0000 (12:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jul 2017 12:47:30 +0000 (14:47 +0200)
commitb6d282cea3f3ed3a5b09d687443213547db39499
tree09c1fc3f387bb0d21c163532c988916262728f6d
parentd99c7333ab1c9d56e6f6e15c0b4398591465efc1
binder: refactor binder_pop_transaction

binder_pop_transaction needs to be split into 2 pieces to
to allow the proc lock to be held on entry to dequeue the
transaction stack, but no lock when kfree'ing the transaction.

Split into binder_pop_transaction_locked and binder_free_transaction
(the actual locks are still to be added).

Signed-off-by: Todd Kjos <tkjos@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c