Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
[cascardo/linux.git] / drivers / hid / uhid.c
index e094c57..16b6f11 100644 (file)
@@ -384,7 +384,7 @@ struct uhid_create_req_compat {
 static int uhid_event_from_user(const char __user *buffer, size_t len,
                                struct uhid_event *event)
 {
-       if (is_compat_task()) {
+       if (in_compat_syscall()) {
                u32 type;
 
                if (get_user(type, buffer))