]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Make sure the post handler for mincore is called in amd64 and s390 as
authorTom Hughes <tom@compton.nu>
Wed, 10 Aug 2011 09:57:27 +0000 (09:57 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 10 Aug 2011 09:57:27 +0000 (09:57 +0000)
it already was on other platforms. Fix to #279795.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11959

coregrind/m_syswrap/syswrap-amd64-linux.c
coregrind/m_syswrap/syswrap-s390x-linux.c

index c90af60754e37dc072fd1a3781cbb5b1fc9243bd..5377969541ebfdc13be01339d1859d54912c5201 100644 (file)
@@ -1085,7 +1085,7 @@ static SyscallTableEntry syscall_table[] = {
 
    GENX_(__NR_mremap,            sys_mremap),         // 25 
    GENX_(__NR_msync,             sys_msync),          // 26 
-   GENX_(__NR_mincore,           sys_mincore),        // 27 
+   GENXY(__NR_mincore,           sys_mincore),        // 27 
    GENX_(__NR_madvise,           sys_madvise),        // 28 
    PLAX_(__NR_shmget,            sys_shmget),         // 29 
 
index 102478fbfa85ac1c90a86a25d08ac543261e96cd..0049f7dfc46bad820ce369460dbd06025bc03f44 100644 (file)
@@ -1364,7 +1364,7 @@ static SyscallTableEntry syscall_table[] = {
    LINX_(__NR_setfsuid, sys_setfsuid),                                // 215
    LINX_(__NR_setfsgid, sys_setfsgid),                                // 216
 // ?????(__NR_pivot_root, ),
-   GENX_(__NR_mincore, sys_mincore),                                  // 218
+   GENXY(__NR_mincore, sys_mincore),                                  // 218
    GENX_(__NR_madvise,  sys_madvise),                                 // 219
 
    GENXY(__NR_getdents64,  sys_getdents64),                           // 220