diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2022-02-07 09:27:56 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2022-02-21 10:18:06 +0100 |
commit | cd6174843b0896c9e57176159b38ecba45bade0e (patch) | |
tree | d8b23a91facf6abd0228b3ae87cc56cf64065461 /target/xtensa | |
parent | bc2fbf93207f4e6e6102566414118ae151656eb0 (diff) | |
download | qemu-cd6174843b0896c9e57176159b38ecba45bade0e.zip qemu-cd6174843b0896c9e57176159b38ecba45bade0e.tar.gz qemu-cd6174843b0896c9e57176159b38ecba45bade0e.tar.bz2 |
exec/exec-all: Move 'qemu/log.h' include in units requiring it
Many files use "qemu/log.h" declarations but neglect to include
it (they inherit it via "exec/exec-all.h"). "exec/exec-all.h" is
a core component and shouldn't be used that way. Move the
"qemu/log.h" inclusion locally to each unit requiring it.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220207082756.82600-10-f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'target/xtensa')
-rw-r--r-- | target/xtensa/dbg_helper.c | 1 | ||||
-rw-r--r-- | target/xtensa/exc_helper.c | 1 | ||||
-rw-r--r-- | target/xtensa/fpu_helper.c | 1 | ||||
-rw-r--r-- | target/xtensa/helper.c | 1 | ||||
-rw-r--r-- | target/xtensa/mmu_helper.c | 1 | ||||
-rw-r--r-- | target/xtensa/win_helper.c | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/target/xtensa/dbg_helper.c b/target/xtensa/dbg_helper.c index be1f811..ce2a820 100644 --- a/target/xtensa/dbg_helper.c +++ b/target/xtensa/dbg_helper.c @@ -26,6 +26,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "qemu/main-loop.h" #include "cpu.h" #include "exec/helper-proto.h" diff --git a/target/xtensa/exc_helper.c b/target/xtensa/exc_helper.c index 9bc7f50..d4823a6 100644 --- a/target/xtensa/exc_helper.c +++ b/target/xtensa/exc_helper.c @@ -26,6 +26,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "qemu/main-loop.h" #include "cpu.h" #include "exec/helper-proto.h" diff --git a/target/xtensa/fpu_helper.c b/target/xtensa/fpu_helper.c index ba3c29d..d2a10cc 100644 --- a/target/xtensa/fpu_helper.c +++ b/target/xtensa/fpu_helper.c @@ -26,6 +26,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "qemu/main-loop.h" #include "cpu.h" #include "exec/helper-proto.h" diff --git a/target/xtensa/helper.c b/target/xtensa/helper.c index 29d216e..e0a9caa 100644 --- a/target/xtensa/helper.c +++ b/target/xtensa/helper.c @@ -26,6 +26,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "cpu.h" #include "exec/exec-all.h" #include "exec/gdbstub.h" diff --git a/target/xtensa/mmu_helper.c b/target/xtensa/mmu_helper.c index 57e319a..fa66e8e 100644 --- a/target/xtensa/mmu_helper.c +++ b/target/xtensa/mmu_helper.c @@ -26,6 +26,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "qemu/main-loop.h" #include "qemu/qemu-print.h" #include "qemu/units.h" diff --git a/target/xtensa/win_helper.c b/target/xtensa/win_helper.c index f6f96a6..5a15553 100644 --- a/target/xtensa/win_helper.c +++ b/target/xtensa/win_helper.c @@ -26,6 +26,7 @@ */ #include "qemu/osdep.h" +#include "qemu/log.h" #include "qemu/main-loop.h" #include "cpu.h" #include "exec/helper-proto.h" |