summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-11 22:06:42 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-11 22:06:42 +0000
commitc2b48b69cb80170b749b4252f7eb78acbb370879 (patch)
tree1b43a549fce56e08c57b32cceb91aa6db704860b /osdep.h
parentAllocate guest memory on host page boundaries (Hollis Blanchard) (diff)
downloadqemu-kvm-c2b48b69cb80170b749b4252f7eb78acbb370879.tar.gz
qemu-kvm-c2b48b69cb80170b749b4252f7eb78acbb370879.tar.bz2
qemu-kvm-c2b48b69cb80170b749b4252f7eb78acbb370879.zip
Fix -linux-user build by reverting r5701
Unfortunately, -linux-user doesn't use osdep as it replaces some of those functions with specific ones. The code #ifdef code in exec.c needs to remain in place so instead of introducing a qemu_getpagesize() let's just use getpagesize() in the non-Windows implementation of qemu_vmalloc. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5703 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'osdep.h')
-rw-r--r--osdep.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/osdep.h b/osdep.h
index e4022ba3c..87f024b12 100644
--- a/osdep.h
+++ b/osdep.h
@@ -72,7 +72,6 @@
void *qemu_memalign(size_t alignment, size_t size);
void *qemu_vmalloc(size_t size);
void qemu_vfree(void *ptr);
-long qemu_getpagesize(void);
int qemu_create_pidfile(const char *filename);