diff options
Diffstat (limited to 'linux/drm_os_linux.h')
-rw-r--r-- | linux/drm_os_linux.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drm_os_linux.h b/linux/drm_os_linux.h index cf7d7c2d..c26a4108 100644 --- a/linux/drm_os_linux.h +++ b/linux/drm_os_linux.h @@ -74,8 +74,12 @@ typedef void irqreturn_t; verify_area( VERIFY_READ, uaddr, size ) #define DRM_COPY_FROM_USER_UNCHECKED(arg1, arg2, arg3) \ __copy_from_user(arg1, arg2, arg3) +#define DRM_COPY_TO_USER_UNCHECKED(arg1, arg2, arg3) \ + __copy_to_user(arg1, arg2, arg3) #define DRM_GET_USER_UNCHECKED(val, uaddr) \ __get_user(val, uaddr) +#define DRM_PUT_USER_UNCHECKED(uaddr, val) \ + __put_user(val, uaddr) /** 'malloc' without the overhead of DRM(alloc)() */ |