summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/powerpc/vphn/vphn.c
blob: 186b906e66d5a7043d6d06cb5cbff48e7692ed57 (plain)
1
../../../../../arch/powerpc/mm/vphn.c
khov <dmitry.torokhov@gmail.com>2016-05-20 11:00:43 -0700 commitaffa80bd97f7ca282d1faa91667b3ee9e4c590e6 (patch) tree41cf16417f60394ebc527ca37e142c3f73b240a5 parent23ea5967d6bd30ed59480edbc5fe21eec81682a3 (diff)
Input: uinput - handle compat ioctl for UI_SET_PHYS
When running a 32-bit userspace on a 64-bit kernel, the UI_SET_PHYS ioctl needs to be treated with special care, as it has the pointer size encoded in the command. Signed-off-by: Ricky Liang <jcliang@chromium.org> Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat