diff options
author | Dave Airlie <airlied@linux.ie> | 2004-04-22 12:41:43 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2004-04-22 12:41:43 +0000 |
commit | d40443534c3cab2ea1435556c85ef38503eb63ac (patch) | |
tree | 2007a9ed5ef48690568010687ab373057606fc8c /linux/i830_drm.h | |
parent | 87812e82f45d5ca81fd0603d6bd54854831c9174 (diff) |
Add __user annotations from kernel
Diffstat (limited to 'linux/i830_drm.h')
-rw-r--r-- | linux/i830_drm.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/i830_drm.h b/linux/i830_drm.h index b87c3371..1bd45994 100644 --- a/linux/i830_drm.h +++ b/linux/i830_drm.h @@ -290,11 +290,11 @@ typedef struct _drm_i830_vertex { typedef struct _drm_i830_copy_t { int idx; /* buffer index */ int used; /* nr bytes in use */ - void *address; /* Address to copy from */ + void __user *address; /* Address to copy from */ } drm_i830_copy_t; typedef struct drm_i830_dma { - void *virtual; + void __user *virtual; int request_idx; int request_size; int granted; @@ -304,7 +304,7 @@ typedef struct drm_i830_dma { /* 1.3: Userspace can request & wait on irq's: */ typedef struct drm_i830_irq_emit { - int *irq_seq; + int __user *irq_seq; } drm_i830_irq_emit_t; typedef struct drm_i830_irq_wait { @@ -318,7 +318,7 @@ typedef struct drm_i830_irq_wait { typedef struct drm_i830_getparam { int param; - int *value; + int __user *value; } drm_i830_getparam_t; |