aboutsummaryrefslogtreecommitdiff
path: root/osdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'osdep.c')
-rw-r--r--osdep.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/osdep.c b/osdep.c
index aaced11349..824120f7d6 100644
--- a/osdep.c
+++ b/osdep.c
@@ -200,11 +200,7 @@ void *qemu_vmalloc(size_t size)
if (kqemu_allowed)
return kqemu_vmalloc(size);
#endif
-#ifdef _BSD
- return valloc(size);
-#else
return qemu_memalign(getpagesize(), size);
-#endif
}
void qemu_vfree(void *ptr)