x32: remove arch-specific syscall remapping
authorBobby Bingham <koorogi@koorogi.info>
Thu, 12 May 2016 05:30:51 +0000 (00:30 -0500)
committerBobby Bingham <koorogi@koorogi.info>
Thu, 12 May 2016 05:30:51 +0000 (00:30 -0500)
These system calls are already all remapped in an arch-agnostic manner in
src/internal/syscall.h

arch/x32/bits/syscall.h

index bd5ab3b49094729f4ac4c9a0ca5d538b2e3f98b8..654dfcdf565d1cd13b9f989e1003a52d1b2aa92a 100644 (file)
 #define __NR_io_submit (__X32_SYSCALL_BIT + 544)
 #define __NR_execveat (__X32_SYSCALL_BIT + 545)
 
-#undef __NR_fstatat
-#undef __NR_pread
-#undef __NR_pwrite
-#undef __NR_getdents
-#define __NR_fstatat __NR_newfstatat
-#define __NR_pread __NR_pread64
-#define __NR_pwrite __NR_pwrite64
-#define __NR_getdents __NR_getdents64
-#define __NR_fadvise __NR_fadvise64
-
 
 
 /* Repeat with SYS_ prefix */
 #define SYS_io_setup __NR_io_setup
 #define SYS_io_submit __NR_io_submit
 #define SYS_execveat __NR_execveat
-
-#undef SYS_fstatat
-#undef SYS_pread
-#undef SYS_pwrite
-#undef SYS_getdents
-#define SYS_fstatat SYS_newfstatat
-#define SYS_pread SYS_pread64
-#define SYS_pwrite SYS_pwrite64
-#define SYS_getdents SYS_getdents64
-#define SYS_fadvise SYS_fadvise64