diff options
author | Markus Armbruster <armbru@redhat.com> | 2016-03-11 16:27:23 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:52:21 -0600 |
commit | b5fbe91ecbcddd95e76d144429d7351b619a5062 (patch) | |
tree | b4c5dd003f3bbb5cd25d24f524f6ed164f7e4d09 /hw/lm32/lm32_boards.c | |
parent | 97d298ce1b4b725b8358896ac88a80a7da4483b2 (diff) | |
download | hqemu-b5fbe91ecbcddd95e76d144429d7351b619a5062.zip hqemu-b5fbe91ecbcddd95e76d144429d7351b619a5062.tar.gz |
Move QEMU_ALIGN_*() from qemu-common.h to qemu/osdep.h
qemu-common.h should only be included by .c files. Its file comment
explains why: "No header file should depend on qemu-common.h, as this
would easily lead to circular header dependencies."
One of the reasons for headers to include it is QEMU_ALIGN_UP() and
QEMU_ALIGN_DOWN(). Move them next to ROUND_UP() in qemu/osdep.h, to
facilitate removing these ill-advised includes later on.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/lm32/lm32_boards.c')
0 files changed, 0 insertions, 0 deletions