From 54aa382cbcdc1e2ba75d6734151ca6e53104e2f2 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Mon, 4 Feb 2019 11:33:48 +0100 Subject: [PATCH] x86emul/test: fix build after "x86emul: fix 3-operand IMUL" Introduce the missing #define (and another one likely to be needed by possible subsequent backports). Signed-off-by: Jan Beulich --- tools/tests/x86_emulator/test_x86_emulator.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/tests/x86_emulator/test_x86_emulator.c b/tools/tests/x86_emulator/test_x86_emulator.c index afd99a7be6..2bad2ad3e9 100644 --- a/tools/tests/x86_emulator/test_x86_emulator.c +++ b/tools/tests/x86_emulator/test_x86_emulator.c @@ -301,6 +301,9 @@ static struct x86_emulate_ops emulops = { .put_fpu = emul_test_put_fpu, }; +#define EFLAGS_ALWAYS_SET (X86_EFLAGS_IF | X86_EFLAGS_MBS) +#define EFLAGS_MASK (X86_EFLAGS_ARITH_MASK | EFLAGS_ALWAYS_SET) + int main(int argc, char **argv) { struct x86_emulate_ctxt ctxt;