staging: android: binder: Add align_helper() macro
authorSerban Constantinescu <serban.constantinescu@arm.com>
Wed, 4 Dec 2013 18:09:36 +0000 (18:09 +0000)
committerJohn Stultz <john.stultz@linaro.org>
Thu, 16 Jan 2014 22:19:33 +0000 (14:19 -0800)
commita4cffaa5e848445430acc0a51e843f6209b8cda2
tree72b6393a550e1d609f89fc2ac16af462bd66ddbd
parentd1b83dd27f1ec80da678d2db00a54ff07de9a5fd
staging: android: binder: Add align_helper() macro

This patch adds align_helper() macro that will be used for enforcing
the desired alignment on 64bit systems where the alignment 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