Staging: android: binder: Support concurrent 32 bit and 64 bit processes.
authorArve Hjønnevåg <arve@android.com>
Tue, 28 Jan 2014 03:18:47 +0000 (19:18 -0800)
committerArve Hjønnevåg <arve@android.com>
Sat, 1 Feb 2014 03:52:10 +0000 (19:52 -0800)
commit2d595dc92ae19b49e4c1ebb1f8e3b461a2d06592
tree2afc66eb4969449acdd81fd1ec0cc77c88e712c1
parentb96e1ae1d7d6f275e985ebdd0f426f16dd371451
Staging: android: binder: Support concurrent 32 bit and 64 bit processes.

Add binder_size_t and binder_uintptr_t that is used instead of size_t and
void __user * in the user-space interface.

Use 64 bit pointers on all systems unless CONFIG_ANDROID_BINDER_IPC_32BIT
is set (which enables the old protocol on 32 bit systems).

Change BINDER_CURRENT_PROTOCOL_VERSION to 8 if
CONFIG_ANDROID_BINDER_IPC_32BIT is not set.

Add compat ioctl.

Change-Id: Ifbbde0209da0050011bcab34c547a4c30d6e8c49
Signed-off-by: Arve Hjønnevåg <arve@android.com>
drivers/staging/android/Kconfig
drivers/staging/android/binder.c
drivers/staging/android/binder.h
drivers/staging/android/binder_trace.h
drivers/staging/android/uapi/binder.h