Skip to contentSkip to conversation

mm: Fix up new locking syscalls

PATCH New Mark Brown 2 participants 2 messages Jul 16, 2015 – Jul 18, 2015

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author maintainer
#0 lore raw

PATCH 1/1 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')

---
 arch/arm64/include/asm/unistd.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/include/asm/unistd.h +1 -1
index 3bc498c..aa537a4 100644
@@ -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
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 mm: Fix up new locking syscalls

Quoted 3 lines · Mark Brown

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":

The ia64 builds also are failing with:

arch/ia64/kernel/entry.S:1775: Error: attempt to move .org backwards

and a mindless bisect leads to the same commit listed above, presumably for the same NR_syscall issue Mark fixes here.

http://kisskb.ellerman.id.au/kisskb/buildresult/12465244/

Paul.
--

Quoted 33 lines

../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')

---
 arch/arm64/include/asm/unistd.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/include/asm/unistd.h +1 -2
index 3bc498c..aa537a4 100644
@@ -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
--

2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-next" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html