drm/gma500: Add compat ioctl
authorPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Tue, 1 Nov 2016 14:43:15 +0000 (15:43 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 16 Mar 2017 02:18:24 +0000 (02:18 +0000)
commit504c78fe8dfb8e82d7347a618c4a1acdd44a918f
tree7679627188c58608538e2f14dc79bf6ff91f1212
parent51d0c3514660c00e93b2b33076f162e9da217865
drm/gma500: Add compat ioctl

commit 0a97c81a9717431e6c57ea845b59c3c345edce67 upstream.

Hook up drm_compat_ioctl to support 32-bit userspace on 64-bit kernels.
It turns out that N2600 and N2800 comes with 64-bit enabled. We
previously assumed there where no such systems out there.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20161101144315.2955-1-patrik.r.jakobsson@gmail.com
[bwh: Backported to 3.2: adjust filename, indentation]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/staging/gma500/psb_drv.c