mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
include: Move qemu_madvise() and related #defines to new qemu/madvise.h
The function qemu_madvise() and the QEMU_MADV_* constants associated with it are used in only 10 files. Move them out of osdep.h to a new qemu/madvise.h header that is included where it is needed. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220208200856.3558249-2-peter.maydell@linaro.org
This commit is contained in:
parent
542e87c7a2
commit
b85ea5fa2f
12 changed files with 105 additions and 82 deletions
|
@ -17,6 +17,7 @@
|
|||
#include "qemu/iov.h"
|
||||
#include "qemu/module.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "qemu/madvise.h"
|
||||
#include "hw/virtio/virtio.h"
|
||||
#include "hw/mem/pc-dimm.h"
|
||||
#include "hw/qdev-properties.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue