x86/pv: Compile out emul-gate-op in !CONFIG_PV32 builds
PATCH 1/1 x86/pv: Compile out emul-gate-op in !CONFIG_PV32 builds
The caller is already guarded by is_pv_32bit_vcpu().
Signed-off-by Andrew Cooper <[email protected]>
---
CC: Jan Beulich <[email protected]>
CC: Wei Liu <[email protected]>
CC: Roger Pau Monné <[email protected]>
--- xen/arch/x86/pv/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/x86/pv/Makefile +1 -1
@@ -2,7 +2,7 @@ obj-y += callback.o obj-y += descriptor-tables.o obj-y += domain.o obj-y += emulate.o -obj-y += emul-gate-op.o +obj-$(CONFIG_PV32) += emul-gate-op.o obj-y += emul-inv-op.o obj-y += emul-priv-op.o obj-$(CONFIG_GRANT_TABLE) += grant_table.o
Signature · 1 line
2.11.0
Quoted 3 lines · Andrew Cooper
The caller is already guarded by
is_pv_32bit_vcpu().Signed-off-by Andrew Cooper <[email protected]>
Reviewed-by Roger Pau Monné <[email protected]>
Thanks, Roger.
Quoted 3 lines · Andrew Cooper
The caller is already guarded by
is_pv_32bit_vcpu().Signed-off-by Andrew Cooper <[email protected]>
Reviewed-by Jan Beulich <[email protected]>