summaryrefslogtreecommitdiff
path: root/bsd-user/mmap.c
diff options
context:
space:
mode:
authortest <test@test.(none)>2013-07-02 17:51:55 +0900
committertest <test@test.(none)>2013-07-02 17:51:55 +0900
commit6d7ee3e0d990b38cfe087fe1a179fda8d4b5e289 (patch)
treec7f1213af278e23ed05d50d65103c687ad7d43e5 /bsd-user/mmap.c
parentc9d7a82ff83a1a21c843c072c3e13aa365ff6c51 (diff)
parent295d81c62414a63c625fa2e78175573d4b3f5ba4 (diff)
downloadqemu-6d7ee3e0d990b38cfe087fe1a179fda8d4b5e289.tar.gz
qemu-6d7ee3e0d990b38cfe087fe1a179fda8d4b5e289.tar.bz2
qemu-6d7ee3e0d990b38cfe087fe1a179fda8d4b5e289.zip
Merge 'qemu 1.5.1' into tizen_qemu_1.5.1
Conflicts: Makefile arch_init.h block/raw-win32.c blockdev.c configure console.h cpu-defs.h cpu-exec.c cpus.c default-configs/arm-softmmu.mak exec-all.h exec.c fpu/softfloat.h hw/9pfs/virtio-9p-device.c hw/Makefile.objs hw/acpi_piix4.c hw/apic_common.c hw/arm/Makefile.objs hw/exynos4210.c hw/exynos4210.h hw/exynos4210_fimd.c hw/exynos4210_gic.c hw/exynos4210_uart.c hw/pc.c hw/pc_sysfw.c hw/pci-hotplug.c hw/pci.c hw/pci.h hw/pl050.c hw/ps2.c hw/qdev-properties.c hw/qdev.c hw/qdev.h hw/vga-pci.c hw/vga-pci.h hw/vga_int.h hw/virtio-balloon.c hw/virtio-balloon.h hw/virtio-blk.c hw/virtio-blk.h hw/virtio-net.c hw/virtio-net.h hw/virtio-pci.c hw/virtio-pci.h hw/virtio-serial-bus.c hw/virtio-serial.h hw/virtio.c hw/virtio.h input.c kvm.h main-loop.c main-loop.h os-win32.c oslib-posix.c oslib-win32.c qemu-char.c qemu-options.hx qemu-sockets.c softmmu_defs.h softmmu_template.h sysemu.h tcg/i386/tcg-target.c tcg/tcg.c tcg/tcg.h vl.c
Diffstat (limited to 'bsd-user/mmap.c')
-rw-r--r--bsd-user/mmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsd-user/mmap.c b/bsd-user/mmap.c
index 5d6cffc458..aae8ea10be 100644
--- a/bsd-user/mmap.c
+++ b/bsd-user/mmap.c
@@ -74,7 +74,7 @@ void mmap_unlock(void)
}
#endif
-void *qemu_vmalloc(size_t size)
+static void *bsd_vmalloc(size_t size)
{
void *p;
mmap_lock();
@@ -98,7 +98,7 @@ void *g_malloc(size_t size)
{
char * p;
size += 16;
- p = qemu_vmalloc(size);
+ p = bsd_vmalloc(size);
*(size_t *)p = size;
return p + 16;
}