Message ID | 1502149958-23381-14-git-send-email-cota@braap.org |
---|---|
State | New |
Headers | show |
diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c index 12e1252..64d099b 100644 --- a/accel/tcg/translate-all.c +++ b/accel/tcg/translate-all.c @@ -108,8 +108,8 @@ typedef struct PageDesc { #ifdef CONFIG_SOFTMMU /* in order to optimize self modifying code, we count the number of lookups we do to a given page to use a bitmap */ - unsigned int code_write_count; unsigned long *code_bitmap; + unsigned int code_write_count; #else unsigned long flags; #endif
Groundwork for supporting parallel TCG generation. Move the hole to the end of the struct, so that a u32 field can be added there without bloating the struct. Signed-off-by: Emilio G. Cota <cota@braap.org> --- accel/tcg/translate-all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)