mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-27 13:30:52 +00:00
cputlb: fix assert_cpu_is_self macro
Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Emilio G. Cota <cota@braap.org> Message-Id: <20181009174557.16125-5-cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
5005e2537d
commit
ea9025cb49
@ -58,9 +58,9 @@
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#define assert_cpu_is_self(this_cpu) do { \
|
||||
#define assert_cpu_is_self(cpu) do { \
|
||||
if (DEBUG_TLB_GATE) { \
|
||||
g_assert(!cpu->created || qemu_cpu_is_self(cpu)); \
|
||||
g_assert(!(cpu)->created || qemu_cpu_is_self(cpu)); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user