summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/xtensa/translate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/xtensa/translate.c b/target/xtensa/translate.c
index 4bdfcd24d0..bec9efc4d8 100644
--- a/target/xtensa/translate.c
+++ b/target/xtensa/translate.c
@@ -50,7 +50,7 @@
/* is_jmp field values */
#define DISAS_UPDATE DISAS_TARGET_0 /* cpu state was modified dynamically */
-typedef struct DisasContext {
+struct DisasContext {
const XtensaConfig *config;
TranslationBlock *tb;
uint32_t pc;
@@ -78,7 +78,7 @@ typedef struct DisasContext {
uint32_t *raw_arg;
xtensa_insnbuf insnbuf;
xtensa_insnbuf slotbuf;
-} DisasContext;
+};
static TCGv_i32 cpu_pc;
static TCGv_i32 cpu_R[16];