target/mips: Include "exec/memattrs.h" in 'internal.h'
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 5 Dec 2020 17:34:15 +0000 (18:34 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 13 Dec 2020 18:58:54 +0000 (19:58 +0100)
mips_cpu_do_transaction_failed() requires MemTxAttrs
and MemTxResult declarations.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20201206233949.3783184-8-f4bug@amsat.org>

target/mips/internal.h
target/mips/kvm.c

index dd8a7809b645a177ac3145489f231d16400dc617..76b7a85cbb38f025c64d4b6c6d78deda851b4d9a 100644 (file)
@@ -8,6 +8,7 @@
 #ifndef MIPS_INTERNAL_H
 #define MIPS_INTERNAL_H
 
+#include "exec/memattrs.h"
 #include "fpu/softfloat-helpers.h"
 
 /*
index 94b3a88d8f84a3a423c3a90c9407e9cce9a667c6..477692566a4fbebeb2de61de277c102333d2bf2e 100644 (file)
@@ -23,7 +23,6 @@
 #include "sysemu/kvm_int.h"
 #include "sysemu/runstate.h"
 #include "kvm_mips.h"
-#include "exec/memattrs.h"
 #include "hw/boards.h"
 
 #define DEBUG_KVM 0