x86emul: fix 32-bit test build
authorJan Beulich <jbeulich@suse.com>
Mon, 14 Mar 2016 12:02:56 +0000 (13:02 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 14 Mar 2016 12:02:56 +0000 (13:02 +0100)
commit71b165d2d4215c1556b62231d127a233225360ee
tree87e75e516d6d85cc17c1828e94958eebf440c087
parent74760ba14fef30c9191a3579e40f798209fd6264
x86emul: fix 32-bit test build

Commit 5644ce0142 ("x86emul: relax asm() constraints") introduced a
64-bit only instruction suffix, which breaks running the emulator test
on a 32-bit system. Mirror __OS (and _OP for completeness) to the test
wrapper source file.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/tests/x86_emulator/x86_emulate.c
xen/arch/x86/x86_emulate/x86_emulate.c