]> git.baikalelectronics.ru Git - kernel.git/commit
um: syscall.c: include <asm/unistd.h>
authorJohannes Berg <johannes.berg@intel.com>
Wed, 15 Apr 2020 07:51:52 +0000 (09:51 +0200)
committerRichard Weinberger <richard@nod.at>
Wed, 29 Apr 2020 19:22:04 +0000 (21:22 +0200)
commit1185ae369616db8711f366af3ec652e278ee6354
treec7cdeb012db31b5e2237af805107970d6e373f48
parent903af0c46ae3e1ad416514daf357b16d7df9c735
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>
arch/um/kernel/skas/syscall.c