Re: Fwd: [RFC][PATCH] staging: Fix build issues with new binder API

From: Arnd Bergmann
Date: Thu Feb 27 2014 - 14:15:42 EST


On Wednesday 26 February 2014, John Stultz wrote:
> The new 64bit binder API causes build issues on 32bit ARM
> due to the lack of 64bit __get_user_asm_* implementation.

It is impossible to implement this. Many have tried before.

> 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.

I think the best solution is to use __copy_from_user for
the 64-bit access. You can wrap it in a helper function
if you want to speed up the native-word-size case.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/