staging: Fix build issues with new binder API
authorJohn Stultz <john.stultz@linaro.org>
Mon, 3 Mar 2014 09:35:23 +0000 (01:35 -0800)
committerJohn Stultz <john.stultz@linaro.org>
Mon, 3 Mar 2014 09:35:23 +0000 (01:35 -0800)
The new 64bit binder API causes build issues on 32bit ARM
due to the lack of 64bit __get_user_asm_* implementation.

Until that implementation is done, remove the choice for
32bit ARM, automatically enabling the old 32bit binder
protocol.

This can be reverted once a 64bit __get_user_asm_*
implementation is merged.

Cc: Greg KH <gregkh@linuxfoundation.org>
Cc: Colin Cross <ccross@android.com>
Cc: Arve Hjønnevåg <arve@android.com>
Cc: Serban Constantinescu <serban.constantinescu@arm.com>
Cc: Android Kernel Team <kernel-team@android.com>
Reported-by: Arnd Bergmann <arnd.bergmann@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
drivers/staging/android/Kconfig

index a802bc0bf4a466ada671afc6910a285e62ace43d..1e1b36ab1389d1d23c0df44013e15434b881fba4 100644 (file)
@@ -20,9 +20,9 @@ config ANDROID_BINDER_IPC
          between said processes.
 
 config ANDROID_BINDER_IPC_32BIT
-       bool "Use old 32-bit binder api"
+       bool
         default y
-       depends on !64BIT
+       depends on !64BIT && ANDROID_BINDER_IPC
        ---help---
          Enable to support an old 32-bit Android user-space. Breaks the new
          Android user-space.