staging: android: binder: Add copy_flat_binder_object()
authorSerban Constantinescu <serban.constantinescu@arm.com>
Wed, 4 Dec 2013 18:09:39 +0000 (18:09 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Thu, 16 Jan 2014 22:31:09 +0000 (14:31 -0800)
commit46bd93ed20f4b4f1ae743f46a458b6d8eb10f2b0
treec00177ee2d6b93488332901ead023fa904092780
parent63efce4893bc25a6db91bb363f0fa30a2af8d149
staging: android: binder: Add copy_flat_binder_object()

This patch adds copy_flat_binder_object macro() that will help
dereference struct flat_binder_object on 64bit systems where the
structure differs between 32bit and 64bit userspace.

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