Add __NR_madvise.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@124 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/vg_syscall_mem.c b/vg_syscall_mem.c
index aebd4e0..52157ca 100644
--- a/vg_syscall_mem.c
+++ b/vg_syscall_mem.c
@@ -354,6 +354,15 @@
 
       /* !!!!!!!!!! New, untested syscalls !!!!!!!!!!!!!!!!!!!!! */
 
+#     if defined(__NR_madvise)
+      case __NR_madvise: /* syscall 219 */
+         /* int madvise(void *start, size_t length, int advice ); */
+         if (VG_(clo_trace_syscalls))
+            VG_(printf)("madvise ( %p, %d, %d )\n", arg1,arg2,arg3);
+         KERNEL_DO_SYSCALL(tid,res);
+         break;
+#     endif
+
 #     if defined(__NR_mremap)
       /* Is this really right?  Perhaps it should copy the permissions
          from the old area into the new.  Unclear from the Linux man