ipc, kernel: use Linux headers
authorPaul McQuade <paulmcquad@gmail.com>
Fri, 6 Jun 2014 21:37:37 +0000 (14:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:14 +0000 (16:08 -0700)
Use #include <linux/uaccess.h> instead of <asm/uaccess.h>
Use #include <linux/types.h> instead of <asm/types.h>

Signed-off-by: Paul McQuade <paulmcquad@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/compat.c
ipc/compat_mq.c
ipc/msg.c
ipc/sem.c
ipc/shm.c
kernel/acct.c
kernel/audit.c

index 45d035d4cedcfff58934b3f8e15aac4e6162d5de..b5ef4f7946dca3a155b0788993c66512afc8fc4b 100644 (file)
@@ -30,7 +30,7 @@
 #include <linux/ptrace.h>
 
 #include <linux/mutex.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 #include "util.h"
 
index 90d29f59cac6e525f1904bdb7a1d623e34ae4fe2..ef6f91cc4490b5a36311083c1530c345507d0246 100644 (file)
@@ -12,7 +12,7 @@
 #include <linux/mqueue.h>
 #include <linux/syscalls.h>
 
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 struct compat_mq_attr {
        compat_long_t mq_flags;      /* message queue flags                  */
index 35e4018de53c3434a74d6c99e569f1a1c1a574e7..d608e6dde91948c769521b02333747f075b5649f 100644 (file)
--- a/ipc/msg.c
+++ b/ipc/msg.c
@@ -39,7 +39,7 @@
 #include <linux/ipc_namespace.h>
 
 #include <asm/current.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #include "util.h"
 
 /*
index 3fcbc96abee9d75ee354974f7f025f88996bccfc..e8dcc72d5bef0e52008d3dcfcc67f463f0f30626 100644 (file)
--- a/ipc/sem.c
+++ b/ipc/sem.c
@@ -87,7 +87,7 @@
 #include <linux/nsproxy.h>
 #include <linux/ipc_namespace.h>
 
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #include "util.h"
 
 /* One semaphore structure for each semaphore in the system. */
index b54c93f6d117aa869dc98d8b44b5f2618d7c935c..fe49fdd240a8831ba28011f0030924ef2370dfd0 100644 (file)
--- a/ipc/shm.c
+++ b/ipc/shm.c
@@ -43,7 +43,7 @@
 #include <linux/mount.h>
 #include <linux/ipc_namespace.h>
 
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 #include "util.h"
 
index 8d6e145138bb9d2e39e93933177f63536d73d018..df2851905d14fbd6e19249177a40fe66e277d640 100644 (file)
@@ -55,7 +55,7 @@
 #include <linux/times.h>
 #include <linux/syscalls.h>
 #include <linux/mount.h>
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 #include <asm/div64.h>
 #include <linux/blkdev.h> /* sector_div */
 #include <linux/pid_namespace.h>
index 47845c57eb1925f5a24132dbc36bd95b256f7654..f30106459a3243945d75038d8c069b06906efa13 100644 (file)
@@ -44,7 +44,7 @@
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 
 #include <linux/init.h>
-#include <asm/types.h>
+#include <linux/types.h>
 #include <linux/atomic.h>
 #include <linux/mm.h>
 #include <linux/export.h>