]> git.karo-electronics.de Git - linux-beck.git/commit
staging: android: ashmem: Add support for 32bit ashmem calls in a 64bit kernel
authorSerban Constantinescu <serban.constantinescu@arm.com>
Tue, 5 Mar 2013 15:27:38 +0000 (15:27 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Mar 2013 00:49:43 +0000 (08:49 +0800)
commite9f5b8145af9a0ee34e98cf01dcd3afb87225538
tree0456aafcbdd576a443d6dcec4a529d92ef7587fa
parent5db5a20a50cfd078c78b13a988f237cca81aedc5
staging: android: ashmem: Add support for 32bit ashmem calls in a 64bit kernel

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

v2: Fix missing compat.h include.

Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
Acked-by: Arve Hjønnevåg <arve@android.com>
Acked-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ashmem.c
drivers/staging/android/ashmem.h