VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git] / include / asm-sparc / openpromio.h
index 6e32823..917fb8e 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef        _SPARC_OPENPROMIO_H
 #define        _SPARC_OPENPROMIO_H
 
+#include <linux/compiler.h>
 #include <linux/ioctl.h>
 #include <linux/types.h>
 
@@ -52,9 +53,9 @@ struct opiocdesc
 {
        int     op_nodeid;              /* PROM Node ID (value-result) */
        int     op_namelen;             /* Length of op_name. */
-       char    *op_name;               /* Pointer to the property name. */
+       char    __user *op_name;        /* Pointer to the property name. */
        int     op_buflen;              /* Length of op_buf (value-result) */
-       char    *op_buf;                /* Pointer to buffer. */
+       char    __user *op_buf;         /* Pointer to buffer. */
 };
 
 #define        OPIOCGET        _IOWR('O', 1, struct opiocdesc)