From 48ce4a3a5284acbd256aa9226e44c34790ec0cd2 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sun, 11 Jan 2015 17:35:37 +0000 Subject: [PATCH] ARM EABI: reserve some space for new syscalls Reserve the same space for new syscalls on EABI as it is already reserved on OABI. * linux/arm/syscallent.h [__ARM_EABI__] (ARM_FIRST_SHUFFLED_SYSCALL): Raise to 400. --- linux/arm/syscallent.h | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/linux/arm/syscallent.h b/linux/arm/syscallent.h index c93eaa4c..80c1c896 100644 --- a/linux/arm/syscallent.h +++ b/linux/arm/syscallent.h @@ -411,26 +411,10 @@ { 3, 0, sys_sched_setattr, "sched_setattr" }, /* 380 */ { 4, 0, sys_sched_getattr, "sched_getattr" }, /* 381 */ { 5, TD|TF, sys_renameat2, "renameat2" }, /* 382 */ + [383 ... 399] = { }, #ifdef __ARM_EABI__ -# define ARM_FIRST_SHUFFLED_SYSCALL 383 +# define ARM_FIRST_SHUFFLED_SYSCALL 400 #else - { 5, 0, NULL, NULL }, /* 383 */ - { 5, 0, NULL, NULL }, /* 384 */ - { 5, 0, NULL, NULL }, /* 385 */ - { 5, 0, NULL, NULL }, /* 386 */ - { 5, 0, NULL, NULL }, /* 387 */ - { 5, 0, NULL, NULL }, /* 388 */ - { 5, 0, NULL, NULL }, /* 389 */ - { 5, 0, NULL, NULL }, /* 390 */ - { 5, 0, NULL, NULL }, /* 391 */ - { 5, 0, NULL, NULL }, /* 392 */ - { 5, 0, NULL, NULL }, /* 393 */ - { 5, 0, NULL, NULL }, /* 394 */ - { 5, 0, NULL, NULL }, /* 395 */ - { 5, 0, NULL, NULL }, /* 396 */ - { 5, 0, NULL, NULL }, /* 397 */ - { 5, 0, NULL, NULL }, /* 398 */ - { 5, 0, NULL, NULL }, /* 399 */ # define SYS_socket_subcall 400 # include "subcall.h" # define ARM_FIRST_SHUFFLED_SYSCALL (SYS_socket_subcall + SYS_socket_nsubcalls + SYS_ipc_nsubcalls) -- 2.40.0