From d40443534c3cab2ea1435556c85ef38503eb63ac Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 22 Apr 2004 12:41:43 +0000 Subject: Add __user annotations from kernel --- linux-core/i830_drm.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'linux-core/i830_drm.h') diff --git a/linux-core/i830_drm.h b/linux-core/i830_drm.h index b87c3371..1bd45994 100644 --- a/linux-core/i830_drm.h +++ b/linux-core/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; -- cgit v1.2.3