summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-02-16 13:51:46 +0100
committerChristoph Brill <christoph.brill@chamaeleon.de>2011-12-13 22:15:50 +0100
commitd5a854d422e9bd30ee97c78d5075f271b11ac0a4 (patch)
tree53d85265547daf176652bf067335926047d347fc
parent6589c060e928ea03046f0abe0dc15cc0e2037e06 (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;