]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ipc/msgutil.c: use linux/uaccess.h
authorHoSung Jung <rain6557@gmail.com>
Sun, 10 Mar 2013 10:55:23 +0000 (21:55 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 12 Mar 2013 03:57:33 +0000 (14:57 +1100)
Signed-off-by: HoSung Jung <rain6557@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
ipc/msgutil.c

index d33fbb2743bd09cce6b128d196e818fb8c06b8ca..d43439e6eb47bc4064d664c01bcde7be4cbf81e5 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 */
 };