ipc/msgutil.c: use linux/uaccess.h
[cascardo/linux.git] / ipc / msgutil.c
index d33fbb2..d43439e 100644 (file)
@@ -17,7 +17,7 @@
 #include <linux/ipc_namespace.h>
 #include <linux/utsname.h>
 #include <linux/proc_fs.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 #include "util.h"
 
@@ -37,7 +37,7 @@ struct ipc_namespace init_ipc_ns = {
 atomic_t nr_ipc_ns = ATOMIC_INIT(1);
 
 struct msg_msgseg {
-       struct msg_msgsegnext;
+       struct msg_msgseg *next;
        /* the next part of the message follows immediately */
 };