mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-19 08:02:15 -06:00
Use qemu_memalign instead of memalign in qemu_vmalloc
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5730 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
a7812ae412
commit
48253bd84e
1 changed files with 1 additions and 1 deletions
2
osdep.c
2
osdep.c
|
@ -200,7 +200,7 @@ void *qemu_vmalloc(size_t size)
|
||||||
#ifdef _BSD
|
#ifdef _BSD
|
||||||
return valloc(size);
|
return valloc(size);
|
||||||
#else
|
#else
|
||||||
return memalign(getpagesize(), size);
|
return qemu_memalign(getpagesize(), size);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue