summaryrefslogtreecommitdiffstats
path: root/target/mips
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-12-05 18:34:15 +0100
committerPhilippe Mathieu-Daudé2020-12-13 19:58:54 +0100
commit34cffe960e494ae6dc79efeb87fc3e79fe7de90c (patch)
tree9a73280009a1e37b23f535a503fb6256314d23f1 /target/mips
parenttarget/mips/kvm: Remove unused headers (diff)
downloadqemu-34cffe960e494ae6dc79efeb87fc3e79fe7de90c.tar.gz
qemu-34cffe960e494ae6dc79efeb87fc3e79fe7de90c.tar.xz
qemu-34cffe960e494ae6dc79efeb87fc3e79fe7de90c.zip
target/mips: Include "exec/memattrs.h" in 'internal.h'
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>
Diffstat (limited to 'target/mips')
-rw-r--r--target/mips/internal.h1
-rw-r--r--target/mips/kvm.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/target/mips/internal.h b/target/mips/internal.h
index dd8a7809b6..76b7a85cbb 100644
--- a/target/mips/internal.h
+++ b/target/mips/internal.h
@@ -8,6 +8,7 @@
#ifndef MIPS_INTERNAL_H
#define MIPS_INTERNAL_H
+#include "exec/memattrs.h"
#include "fpu/softfloat-helpers.h"
/*
diff --git a/target/mips/kvm.c b/target/mips/kvm.c
index 94b3a88d8f..477692566a 100644
--- a/target/mips/kvm.c
+++ b/target/mips/kvm.c
@@ -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