Skip to content

Commit

Permalink
exec/translation-block: Clean up includes
Browse files Browse the repository at this point in the history
'qemu/atomic.h' and 'exec/target_page.h' are not used.
'qemu/interval-tree.h' is only required for user emulation.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230828221314.18435-12-philmd@linaro.org>
  • Loading branch information
philmd committed Aug 31, 2023
1 parent ab5f8fc commit 8347f49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/exec/translation-block.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
#ifndef EXEC_TRANSLATION_BLOCK_H
#define EXEC_TRANSLATION_BLOCK_H

#include "qemu/atomic.h"
#include "qemu/thread.h"
#include "qemu/interval-tree.h"
#include "exec/cpu-common.h"
#include "exec/target_page.h"
#ifdef CONFIG_USER_ONLY
#include "qemu/interval-tree.h"
#endif

/*
* Page tracking code uses ram addresses in system mode, and virtual
Expand Down

0 comments on commit 8347f49

Please sign in to comment.