Use VGP_ prefix more consistently for platform-specific exports.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3436 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_memory.c b/coregrind/vg_memory.c
index 680c3de..421f70d 100644
--- a/coregrind/vg_memory.c
+++ b/coregrind/vg_memory.c
@@ -956,9 +956,9 @@
while (s && addr <= VG_(valgrind_last)) {
if (addr < s->addr) {
- PLATFORM_DO_MMAP(ret, addr, s->addr - addr, 0,
- VKI_MAP_FIXED | VKI_MAP_PRIVATE | VKI_MAP_ANONYMOUS,
- -1, 0);
+ VGP_DO_MMAP(ret, addr, s->addr - addr, 0,
+ VKI_MAP_FIXED | VKI_MAP_PRIVATE | VKI_MAP_ANONYMOUS,
+ -1, 0);
}
addr = s->addr + s->len;
i++;
@@ -966,9 +966,9 @@
}
if (addr <= VG_(valgrind_last)) {
- PLATFORM_DO_MMAP(ret, addr, VG_(valgrind_last) - addr + 1, 0,
- VKI_MAP_FIXED | VKI_MAP_PRIVATE | VKI_MAP_ANONYMOUS,
- -1, 0);
+ VGP_DO_MMAP(ret, addr, VG_(valgrind_last) - addr + 1, 0,
+ VKI_MAP_FIXED | VKI_MAP_PRIVATE | VKI_MAP_ANONYMOUS,
+ -1, 0);
}
}