summaryrefslogtreecommitdiffstats
path: root/ipc/msgutil.c
diff options
context:
space:
mode:
authorHoSung Jung <rain6557@gmail.com>2013-05-01 04:15:09 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2013-05-01 17:12:57 +0200
commit1e3c941c52eab70c8acb2f77829c24673445c858 (patch)
treea8b35dcd0966bdd5461d327c19439c74eff4ca07 /ipc/msgutil.c
parentipc: refactor msg list search into separate function (diff)
downloadlinux-1e3c941c52eab70c8acb2f77829c24673445c858.tar.xz
linux-1e3c941c52eab70c8acb2f77829c24673445c858.zip
ipc/msgutil.c: use linux/uaccess.h
Signed-off-by: HoSung Jung <rain6557@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/msgutil.c')
-rw-r--r--ipc/msgutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/msgutil.c b/ipc/msgutil.c
index d33fbb2743bd..d43439e6eb47 100644
--- a/ipc/msgutil.c
+++ b/ipc/msgutil.c
@@ -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_msgseg* next;
+ struct msg_msgseg *next;
/* the next part of the message follows immediately */
};