video: tegra: host: Make ioctls 64bit compatible
authorArto Merilainen <amerilainen@nvidia.com>
Thu, 19 Dec 2013 07:36:03 +0000 (09:36 +0200)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Mon, 23 Dec 2013 06:01:08 +0000 (22:01 -0800)
commit90c045c1b135d2cf908a8384c8c68aeeb167075c
treeca484d93af29201ccf41f2e42097a340945ea122
parent0c8cfca6334068ce2a92ed13d2aa549f7d4b0aca
video: tegra: host: Make ioctls 64bit compatible

This patch updates ioctls so that they are 64-bit compatible.

In cases where the only issue is with padding, this patch adds
__packed to ensure that the compiler does not do any tricks. In
cases where there are more fundamental issues in the structure,
this patch adds a new 64bit compatible ioctl.

32-bit systems should work correctly with all these changes.

Bug 1426482

Change-Id: Ice8752b08bc390e11f57e979641b386346ee29d8
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/347423
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/video/tegra/host/bus_client.c
drivers/video/tegra/host/host1x/host1x.c
drivers/video/tegra/host/nvhost_as.c
include/linux/nvhost_as_ioctl.h
include/linux/nvhost_dbg_gpu_ioctl.h
include/linux/nvhost_gpu_ioctl.h
include/linux/nvhost_ioctl.h