Changeset
target/xtensa/translate.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Git apply log
Switched to a new branch '1515778610-18894-1-git-send-email-jcmvbkbc@gmail.com'
Applying: target/xtensa: don't typedef DisasContext twice
Using index info to reconstruct a base tree...
M	target/xtensa/translate.c
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
To https://github.com/patchew-project/qemu
 * [new tag]               patchew/1515778610-18894-1-git-send-email-jcmvbkbc@gmail.com -> patchew/1515778610-18894-1-git-send-email-jcmvbkbc@gmail.com
Test passed: docker

loading

Test passed: checkpatch

loading

Test passed: s390x

loading

Test passed: ppc

loading

[Qemu-devel] [PATCH] target/xtensa: don't typedef DisasContext twice
Posted by Max Filippov, 6 days ago
This fixes build on Centos 6.

Fixes: 168c12b02470 ("target/xtensa: extract core opcode translators").
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
---
 target/xtensa/translate.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/xtensa/translate.c b/target/xtensa/translate.c
index 4bdfcd24d09b..bec9efc4d86a 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];
-- 
2.1.4


Re: [Qemu-devel] [PATCH] target/xtensa: don't typedef DisasContext twice
Posted by Max Filippov, 6 days ago
On Fri, Jan 12, 2018 at 9:36 AM, Max Filippov <jcmvbkbc@gmail.com> wrote:
> This fixes build on Centos 6.
>
> Fixes: 168c12b02470 ("target/xtensa: extract core opcode translators").
> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>

...and thank you Peter for fixing it.

-- 
Thanks.
-- Max