diff options
author | Markus Armbruster <armbru@redhat.com> | 2016-03-11 13:41:13 +0100 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:52:21 -0600 |
commit | 97d298ce1b4b725b8358896ac88a80a7da4483b2 (patch) | |
tree | 5fa7432cad8cd404355f0a89afd17721e43f94e3 /hw/lm32/lm32_boards.c | |
parent | 5d77b17f99811f60c0a5f64d32dad76768d5cee8 (diff) | |
download | hqemu-97d298ce1b4b725b8358896ac88a80a7da4483b2.zip hqemu-97d298ce1b4b725b8358896ac88a80a7da4483b2.tar.gz |
Move HOST_LONG_BITS 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 HOST_LONG_BITS. Move
that to its more natural home qemu/osdep.h, to facilitate removing
these ill-advised includes later on.
This also lets us use HOST_LONG_BITS in bswap.h instead of duplicating
its definition there to avoid cyclic inclusion.
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