Browse Source

ipc, kernel: use Linux headers

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>
linux-4.1.4
Paul McQuade 8 years ago
committed by Linus Torvalds
parent
commit
7153e40273
  1. 2
      ipc/compat.c
  2. 2
      ipc/compat_mq.c
  3. 2
      ipc/msg.c
  4. 2
      ipc/sem.c
  5. 2
      ipc/shm.c
  6. 2
      kernel/acct.c
  7. 2
      kernel/audit.c

2
ipc/compat.c

@ -30,7 +30,7 @@
#include <linux/ptrace.h>
#include <linux/mutex.h>
#include <asm/uaccess.h>
#include <linux/uaccess.h>
#include "util.h"

2
ipc/compat_mq.c

@ -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 */

2
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"
/*

2
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. */

2
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"

2
kernel/acct.c

@ -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>

2
kernel/audit.c

@ -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>

Loading…
Cancel
Save