summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2013-12-19 15:56:23 -0800
committerColin Cross <ccross@android.com>2013-12-19 19:25:39 -0800
commit892e1580141cde0f80180e43f6c8c3dc356ddaf2 (patch)
tree48da0a4e9c34a1c2e17a8945c2237aa8fa19ddcd /lib/mpi/mpiutil.c
parentc6448537fe9e8b684b214e89c6c68c3b209f549e (diff)
downloadolio-linux-3.10-892e1580141cde0f80180e43f6c8c3dc356ddaf2.tar.xz
olio-linux-3.10-892e1580141cde0f80180e43f6c8c3dc356ddaf2.zip
ion_test: Add compat_ioctl support (v2)
Prior to subitting this, Colin reworked the compat_ioctl support for the ion_test driver, moving the structure to be the same size on both 32 and 64 bit architectures. Two small things were left out. The compat_ioctl ptr assignment, and the fact that despite having uniform sized types in the structure, the structure pads out to different sizes on different arches. This patch resolves this issue by adding a padding entry after the write flag, and adding the compat_ioctl ptr. Changes in v2: - Add a padding int rather then making write a u64 Cc: Colin Cross <ccross@android.com> Cc: Greg KH <gregkh@linuxfoundation.org> Cc: Android Kernel Team <kernel-team@android.com> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions