aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Johansson <anjo@rev.ng>2023-03-06 18:52:30 +0100
committerRichard Henderson <richard.henderson@linaro.org>2023-03-13 06:44:37 -0700
commit00da6b49a227607c7235a1e7db6ebaf1ae44e139 (patch)
tree46d48f60b52bde462837aa85fba526492f67fa61
parenta4af325e4a05d94e872b4ca1bc69df822b2789c2 (diff)
include/exec: Remove guards around `NB_MMU_MODES`
Signed-off-by: Anton Johansson <anjo@rev.ng> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230306175230.7110-24-anjo@rev.ng> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r--include/exec/cpu-defs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/exec/cpu-defs.h b/include/exec/cpu-defs.h
index 5f6b8eed95..e1c498ef4b 100644
--- a/include/exec/cpu-defs.h
+++ b/include/exec/cpu-defs.h
@@ -58,9 +58,7 @@
* Fix the number of mmu modes to 16, which is also the maximum
* supported by the softmmu tlb api.
*/
-#ifndef NB_MMU_MODES
#define NB_MMU_MODES 16
-#endif
#if !defined(CONFIG_USER_ONLY) && defined(CONFIG_TCG)