FROMLIST: binder: add spinlock to protect binder_node
authorTodd Kjos <tkjos@google.com>
Thu, 8 Jun 2017 20:45:59 +0000 (13:45 -0700)
committerTodd Kjos <tkjos@google.com>
Thu, 13 Jul 2017 15:34:21 +0000 (08:34 -0700)
commitcbcbbd68a0edf49c810a19d227a32c40fd6cabf0
tree6f7b7f463c8d7b9fc2815c85b97ef0072795f04f
parent1c89e6b2c5397410a5b648eae5d2eedc669da976
FROMLIST: binder: add spinlock to protect binder_node

(from https://patchwork.kernel.org/patch/9817769/)

node->node_lock is used to protect elements of node. No
need to acquire for fields that are invariant: debug_id,
ptr, cookie.

Change-Id: I612ecb9db2d69b1319a9f0c450ccfdc85de70c39
Signed-off-by: Todd Kjos <tkjos@google.com>
drivers/android/binder.c