From 8ca3eccad76db2d741a78de6fe8ec30d9b6788a8 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 16 Feb 2010 13:51:46 +0100 Subject: glamo: dont use __user --- include/drm/glamo_drm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/drm/glamo_drm.h b/include/drm/glamo_drm.h index 4c194dcd..7629ebc6 100644 --- a/include/drm/glamo_drm.h +++ b/include/drm/glamo_drm.h @@ -70,12 +70,12 @@ /* Simple command submission - a list of 16-bit address-data pairs */ typedef struct drm_glamo_cmd_buffer { unsigned int bufsz; /* Size of buffer, in bytes */ - char __user *buf; /* Buffer of stuff to go onto the ring buffer */ + char *buf; /* Buffer of stuff to go onto the ring buffer */ unsigned int *obj_pos; /* Offsets (in bytes) at which to put objs */ uint32_t *objs; /* List of buffer object (handles) to use */ unsigned int nobjs; /* Number of objects referenced */ int nbox; - struct drm_clip_rect __user *boxes; + struct drm_clip_rect *boxes; } drm_glamo_cmd_buffer_t; -- cgit v1.2.3