The number of the memfd_syscall() on arm64 is the same as on arm only
for 32-bit processes. 64-bit process must use the number defined in the
asm-generic/unistd.h kernel header.
Change-Id: I745ce2b97fca72804ef9ad11fe9787cd9ebeed06
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
# elif defined i386
# define __NR_memfd_create 356
# elif defined __arm__
- /* arm and arm64 have the same value */
# define __NR_memfd_create 385
+# elif defined __aarch64__
+# define __NR_memfd_create 279
# elif defined _MIPS_SIM
# if _MIPS_SIM == _MIPS_SIM_ABI32
# define __NR_memfd_create 4354