summaryrefslogtreecommitdiffstats
path: root/mm/mmu_notifier.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2013-02-18 11:26:11 +0100
committerJiri Kosina <jkosina@suse.cz>2013-02-18 11:28:16 +0100
commitbefde0226a595d1a7854c0cbf32904b8279c4fd0 (patch)
tree4a32e96b1216a309e405cd0546bad541baf540fe /mm/mmu_notifier.c
parentHID: i2c-hid: fix i2c_hid_output_raw_report (diff)
downloadlinux-befde0226a595d1a7854c0cbf32904b8279c4fd0.tar.xz
linux-befde0226a595d1a7854c0cbf32904b8279c4fd0.zip
HID: uhid: make creating devices work on 64/32 systems
Unfortunately UHID interface, as it was introduced, is broken with 32 bit userspace running on 64 bit kernels as it uses a pointer in its userspace facing API. Fix it by checking if we are executing compat task and munge the request appropriately. Reported-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'mm/mmu_notifier.c')
0 files changed, 0 insertions, 0 deletions