From: Petar Jovanovic Date: Wed, 27 Nov 2019 13:32:57 +0000 (+0000) Subject: mips64: use generic Linux wrapper for sys_unshare X-Git-Tag: VALGRIND_3_16_0~192 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b150644902b99669664dc83e6ca9887ae76747cc;p=thirdparty%2Fvalgrind.git mips64: use generic Linux wrapper for sys_unshare No need for mips64-specific Linux wrappers for sys_unshare. --- diff --git a/coregrind/m_syswrap/syswrap-mips64-linux.c b/coregrind/m_syswrap/syswrap-mips64-linux.c index d0bb3cdf17..b1f548a5fa 100644 --- a/coregrind/m_syswrap/syswrap-mips64-linux.c +++ b/coregrind/m_syswrap/syswrap-mips64-linux.c @@ -226,7 +226,6 @@ DECL_TEMPLATE (mips_linux, sys_sethostname); DECL_TEMPLATE (mips_linux, sys_reboot); DECL_TEMPLATE (mips_linux, sys_cacheflush); DECL_TEMPLATE (mips_linux, sys_sched_rr_get_interval); -DECL_TEMPLATE (mips_linux, sys_unshare); DECL_TEMPLATE (mips_linux, sys_prctl); DECL_TEMPLATE (mips_linux, sys_ptrace); DECL_TEMPLATE (mips_linux, sys_mmap); @@ -242,12 +241,6 @@ PRE(sys_vmsplice) vki_size_t, len, int, flags); } -PRE(sys_unshare) -{ - PRINT("sys_unshare ( %" FMT_REGWORD "u )", ARG1); - PRE_REG_READ1(long, "sys_unshare", unsigned long, flags); -} - PRE(sys_sched_rr_get_interval) { PRINT("sys_sched_rr_get_interval ( %ld, %#" FMT_REGWORD "x)", SARG1, ARG2); @@ -784,7 +777,7 @@ static SyscallTableEntry syscall_main_table[] = { LINX_ (__NR_faccessat, sys_faccessat), LINXY (__NR_pselect6, sys_pselect6), LINXY (__NR_ppoll, sys_ppoll), - PLAX_ (__NR_unshare, sys_unshare), + LINX_ (__NR_unshare, sys_unshare), LINX_ (__NR_splice, sys_splice), LINX_ (__NR_sync_file_range, sys_sync_file_range), LINX_ (__NR_tee, sys_tee),