staging: android: binder: Add deref_helper() macro
authorSerban Constantinescu <serban.constantinescu@arm.com>
Wed, 4 Dec 2013 18:09:37 +0000 (18:09 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Thu, 16 Jan 2014 22:19:53 +0000 (14:19 -0800)
commit98e77a8deabe744d3754f28f54e435d72407b8a9
treeaece85a7f3a08a97ef803b75eb8db37eeced60e4
parenta4cffaa5e848445430acc0a51e843f6209b8cda2
staging: android: binder: Add deref_helper() macro

This patch adds a deref_helper() macro that will be used to dereference
the binder offsets on 64bit systems where the offset is either a 32bit
or a 64bit value, depending on the userpace used (32bit /64bit)

This patch is a temporary patch that will be extended with 32bit compat
handling.

Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/staging/android/binder.c