Re: [PATCH] staging: android: ashmem: Add support for 32bit ashmemcalls in a 64bit kernel

From: Greg KH
Date: Tue Mar 05 2013 - 03:36:51 EST


On Mon, Feb 25, 2013 at 06:44:36PM +0000, Serban Constantinescu wrote:
> Android's shared memory subsystem, Ashmem, does not support calls from a
> 32bit userspace in a 64 bit kernel. This patch adds support for syscalls
> coming from a 32bit userspace in a 64bit kernel.
>
> The patch has been successfully tested on ARMv8 AEM(64bit
> platform model) and Versatile Express A9(32bit platform).
>
> Signed-off-by: Serban Constantinescu <serban.constantinescu@xxxxxxx>
> Acked-by: Arve HjÃnnevÃg <arve@xxxxxxxxxxx>
> Acked-by: John Stultz <john.stultz@xxxxxxxxxx>

This patch breaks the build on my machine:
drivers/staging/android/ashmem.c: In function âcompat_ashmem_ioctlâ:
drivers/staging/android/ashmem.c:711:7: error: âcompat_size_tâ undeclared (first use in this function)
drivers/staging/android/ashmem.c:711:7: note: each undeclared identifier is reported only once for each function it appears in

so of course, I can't take it :(

greg k-h
--
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/