mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 14:53:54 -06:00
exec/translation-block: Include missing 'qemu/atomic.h' header
When moving tb_cflags() in commit 88d4b5138a
("tcg: Make
tb_cflags() usable from target-agnostic code") we forgot to
include "qemu/atomic.h", which declares qatomic_read().
Explicitly include it now to avoid issue when refactoring
unrelated headers.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20241217141326.98947-2-philmd@linaro.org>
This commit is contained in:
parent
47f7b6441a
commit
0ec02378e6
1 changed files with 1 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
#ifndef EXEC_TRANSLATION_BLOCK_H
|
||||
#define EXEC_TRANSLATION_BLOCK_H
|
||||
|
||||
#include "qemu/atomic.h"
|
||||
#include "qemu/thread.h"
|
||||
#include "exec/cpu-common.h"
|
||||
#include "exec/vaddr.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue