[PATCH v3 02/19] RISC-V: Cleanup some of the sysdep.h code
Alistair Francis
alistair.francis@wdc.com
Sun Jul 12 15:47:26 GMT 2020
---
sysdeps/unix/sysv/linux/riscv/sysdep.h | 14 +-------------
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/sysdeps/unix/sysv/linux/riscv/sysdep.h b/sysdeps/unix/sysv/linux/riscv/sysdep.h
index 83e4adf6a2..429686cebe 100644
--- a/sysdeps/unix/sysv/linux/riscv/sysdep.h
+++ b/sysdeps/unix/sysv/linux/riscv/sysdep.h
@@ -107,19 +107,7 @@
# undef ret_ERRVAL
# define ret_ERRVAL ret
-#endif /* __ASSEMBLER__ */
-
-/* In order to get __set_errno() definition in INLINE_SYSCALL. */
-#ifndef __ASSEMBLER__
-# include <errno.h>
-#endif
-
-#include <sysdeps/unix/sysdep.h>
-
-#undef SYS_ify
-#define SYS_ify(syscall_name) __NR_##syscall_name
-
-#ifndef __ASSEMBLER__
+#else
# define VDSO_NAME "LINUX_4.15"
# define VDSO_HASH 182943605
--
2.27.0
More information about the Libc-alpha
mailing list