]> xenbits.xensource.com Git - xen.git/commit
x86: fix build with old gcc after CPU policy changes
authorJan Beulich <jbeulich@suse.com>
Wed, 19 Apr 2023 09:02:47 +0000 (11:02 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 19 Apr 2023 09:02:47 +0000 (11:02 +0200)
commit768846690d64bc730c1a1123e8de3af731bb2eb3
tree98e06191916bf9df4aecc182aee8e353e946931b
parent741599fa521fbbb4cf71a98d7ec22ba5f4671cfa
x86: fix build with old gcc after CPU policy changes

Old gcc won't cope with initializers involving unnamed struct/union
fields.

Fixes: 441b1b2a50ea ("x86/emul: Switch x86_emulate_ctxt to cpu_policy")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/fuzz/x86_instruction_emulator/fuzz-emul.c
xen/arch/x86/pv/emul-priv-op.c
xen/arch/x86/pv/ro-page-fault.c