diff options
author | Mark Brown <broonie@kernel.org> | 2015-07-29 10:53:10 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2015-07-29 10:53:10 +1000 |
commit | 18f6c9a7c8af6dac4fce8342f228e7342e9706af (patch) | |
tree | a7f4a94a552cacfe2746e640a5035f26ccaec9c7 /arch | |
parent | 47b7e52070c54129379a49a17a83c08c214e7ad0 (diff) |
mm: fix up new locking syscalls
Extend the arm64 compat syscall table for the new syscalls to fix build
errors introduced by "mm: mlock: add new mlock, munlock, and munlockall
system calls":
../arch/arm64/include/asm/unistd32.h:801:1: error: array index in initializer exceeds array bounds
../arch/arm64/include/asm/unistd32.h:801:1: error: (near initialization for 'compat_sys_call_table')
../arch/arm64/include/asm/unistd32.h:803:1: error: array index in initializer exceeds array bounds
../arch/arm64/include/asm/unistd32.h:803:1: error: (near initialization for 'compat_sys_call_table')
../arch/arm64/include/asm/unistd32.h:805:1: error: array index in initializer exceeds array bounds
../arch/arm64/include/asm/unistd32.h:805:1: error: (near initialization for 'compat_sys_call_table')
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: Eric B Munson <emunson@akamai.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch')
-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 3bc498c250dc..aa537a4dc9a8 100644 --- a/arch/arm64/include/asm/unistd.h +++ b/arch/arm64/include/asm/unistd.h @@ -44,7 +44,7 @@ #define __ARM_NR_compat_cacheflush (__ARM_NR_COMPAT_BASE+2) #define __ARM_NR_compat_set_tls (__ARM_NR_COMPAT_BASE+5) -#define __NR_compat_syscalls 388 +#define __NR_compat_syscalls 391 #endif #define __ARCH_WANT_SYS_CLONE |