diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-12-31 00:01:52 +0300 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2019-01-25 19:22:50 +0300 |
commit | 4ab65ba7a5cbad47520274d88d066bf8eb83f161 (patch) | |
tree | bc59f613638445ca5631c6359df759720fdd7fc0 /arch/arm64/include/asm/unistd.h | |
parent | 78594b95998f1496e25411c6b7c7041bcb9bf7d1 (diff) | |
download | linux-4ab65ba7a5cbad47520274d88d066bf8eb83f161.tar.xz |
ARM: add kexec_file_load system call number
A couple of architectures including arm64 already implement the
kexec_file_load system call, on many others we have assigned a system
call number for it, but not implemented it yet.
Adding the number in arch/arm/ lets us use the system call on arm64
systems in compat mode, and also reduces the number of differences
between architectures. If we want to implement kexec_file_load on ARM
in the future, the number assignment means that kexec tools can already
be built with the now current set of kernel headers.
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm64/include/asm/unistd.h')
-rw-r--r-- | arch/arm64/include/asm/unistd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/unistd.h b/arch/arm64/include/asm/unistd.h index 261216c3336e..2c30e6f145ff 100644 --- a/arch/arm64/include/asm/unistd.h +++ b/arch/arm64/include/asm/unistd.h @@ -44,7 +44,7 @@ #define __ARM_NR_compat_set_tls (__ARM_NR_COMPAT_BASE + 5) #define __ARM_NR_COMPAT_END (__ARM_NR_COMPAT_BASE + 0x800) -#define __NR_compat_syscalls 401 +#define __NR_compat_syscalls 402 #endif #define __ARCH_WANT_SYS_CLONE |