staging: android: binder: Add size_helper() macro
authorSerban Constantinescu <serban.constantinescu@arm.com>
Wed, 4 Dec 2013 18:09:38 +0000 (18:09 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Thu, 16 Jan 2014 22:31:02 +0000 (14:31 -0800)
commit63efce4893bc25a6db91bb363f0fa30a2af8d149
treeb15d4db76507610ce11bd2a72b7b6be65593c4fd
parent98e77a8deabe744d3754f28f54e435d72407b8a9
staging: android: binder: Add size_helper() macro

This patch adds size_helper() macro that will be used for indexing into
different buffers on 64bit systems where the size of particular
structures will differ depending on the userspace 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