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