aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-02-16 13:51:46 +0100
committerThomas White <taw@bitwiz.org.uk>2010-05-23 09:51:34 +0200
commit8ca3eccad76db2d741a78de6fe8ec30d9b6788a8 (patch)
tree41ab3f708236b7be485ccb1d2e2d9161269e3da3
parent1956aa3087ba07da8909fd6aa4c34cf876798c3b (diff)
glamo: dont use __user
-rw-r--r--include/drm/glamo_drm.h4
1 files 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;