From: Sean Paul Date: Fri, 30 Jan 2015 18:57:01 +0000 (-0500) Subject: drm/tegra: gem: Return 64-bit offset for mmap(2) X-Git-Tag: omap-for-v4.2/o2_dc~72^2~14^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdf765071a8b573f7b1ba14c02881fa3e623825e;p=pandora-kernel.git drm/tegra: gem: Return 64-bit offset for mmap(2) On 64-bit targets, tegra_gem_mmap() only returns a partial offset to userspace. As such, subsequent calls to mmap(2) may fail. Change the arguments to use a 64-bit offset to fix this. Signed-off-by: Sean Paul Acked-by: Erik Faye-Lund [treding@nvidia.com: tweak commit message] Signed-off-by: Thierry Reding --- Reading git-diff-tree failed