audit: use uapi/linux/audit.h for AUDIT_ARCH declarations
authorEric Paris <eparis@redhat.com>
Tue, 11 Mar 2014 16:55:42 +0000 (12:55 -0400)
committerEric Paris <eparis@redhat.com>
Thu, 20 Mar 2014 14:11:59 +0000 (10:11 -0400)
The syscall.h headers were including linux/audit.h but really only
needed the uapi/linux/audit.h to get the requisite defines.  Switch to
the uapi headers.

Signed-off-by: Eric Paris <eparis@redhat.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-mips@linux-mips.org
Cc: linux-s390@vger.kernel.org
Cc: x86@kernel.org
arch/arm/include/asm/syscall.h
arch/mips/include/asm/syscall.h
arch/s390/include/asm/syscall.h
arch/x86/include/asm/syscall.h

index ed805f1d3785691fdb79eb36fbaa56b355766a21..4651f6999b7de9351de6259ab5b184a1898b32c1 100644 (file)
@@ -7,7 +7,7 @@
 #ifndef _ASM_ARM_SYSCALL_H
 #define _ASM_ARM_SYSCALL_H
 
-#include <linux/audit.h> /* for AUDIT_ARCH_* */
+#include <uapi/linux/audit.h> /* for AUDIT_ARCH_* */
 #include <linux/elf.h> /* for ELF_EM */
 #include <linux/err.h>
 #include <linux/sched.h>
index 625e709e81b95cfe0ff34be1b0454cbd776f73fa..fc556d8052c9759d63e60aa85e8c7b0bd7187ee4 100644 (file)
@@ -13,7 +13,7 @@
 #ifndef __ASM_MIPS_SYSCALL_H
 #define __ASM_MIPS_SYSCALL_H
 
-#include <linux/audit.h>
+#include <uapi/linux/audit.h>
 #include <linux/elf-em.h>
 #include <linux/kernel.h>
 #include <linux/sched.h>
index bebc0bd8abc2e55be7472b1f07b677cb03656d04..777687055e7be576eb793d3a09aae71b97595ed9 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _ASM_SYSCALL_H
 #define _ASM_SYSCALL_H 1
 
-#include <linux/audit.h>
+#include <uapi/linux/audit.h>
 #include <linux/sched.h>
 #include <linux/err.h>
 #include <asm/ptrace.h>
index 7e6d0c49ecab85d07e2fca60de2b93162b2e9b1d..d6a756ae04c8b999ed379159aa03029b17a38139 100644 (file)
@@ -13,7 +13,7 @@
 #ifndef _ASM_X86_SYSCALL_H
 #define _ASM_X86_SYSCALL_H
 
-#include <linux/audit.h>
+#include <uapi/linux/audit.h>
 #include <linux/sched.h>
 #include <linux/err.h>
 #include <asm/asm-offsets.h>   /* For NR_syscalls */