diff options
author | Johannes Berg <johannes.berg@intel.com> | 2020-04-15 09:51:52 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2020-04-29 21:22:04 +0200 |
commit | e6da5df0eefc0ff5c48aba29157d738888b214e1 (patch) | |
tree | c7cdeb012db31b5e2237af805107970d6e373f48 /arch/um/kernel | |
parent | d0e20fd4c1db7cb28874402f78f39870d84398e9 (diff) |
um: syscall.c: include <asm/unistd.h>
Without CONFIG_SECCOMP, we don't get this include recursively
through the existing includes, thus failing the build on not
having __NR_syscall_max defined. Add the necessary include to
fix this.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/kernel')
-rw-r--r-- | arch/um/kernel/skas/syscall.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/kernel/skas/syscall.c b/arch/um/kernel/skas/syscall.c index 0a12d5a09217..3d91f89fd852 100644 --- a/arch/um/kernel/skas/syscall.c +++ b/arch/um/kernel/skas/syscall.c @@ -11,6 +11,7 @@ #include <sysdep/ptrace_user.h> #include <sysdep/syscalls.h> #include <linux/time-internal.h> +#include <asm/unistd.h> void handle_syscall(struct uml_pt_regs *r) { |