forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/arch/x86/kernel/audit_64.c
....@@ -3,6 +3,7 @@
33 #include <linux/types.h>
44 #include <linux/audit.h>
55 #include <asm/unistd.h>
6
+#include <asm/audit.h>
67
78 static unsigned dir_class[] = {
89 #include <asm-generic/audit_dir_write.h>
....@@ -41,7 +42,6 @@
4142 int audit_classify_syscall(int abi, unsigned syscall)
4243 {
4344 #ifdef CONFIG_IA32_EMULATION
44
- extern int ia32_classify_syscall(unsigned);
4545 if (abi == AUDIT_ARCH_I386)
4646 return ia32_classify_syscall(syscall);
4747 #endif