mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 11:34:58 +00:00
kvm/hyp/reserved_mem.c contains host code executing at EL1 and is not linked into the hypervisor object. Move the file into kvm/pkvm.c and rework the headers so that the definitions shared between the host and the hypervisor live in asm/kvm_pkvm.h. Signed-off-by: Will Deacon <[email protected]> Tested-by: Fuad Tabba <[email protected]> Reviewed-by: Fuad Tabba <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
14 lines
349 B
Makefile
14 lines
349 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for Kernel-based Virtual Machine module, HYP part
|
|
#
|
|
|
|
incdir := $(srctree)/$(src)/include
|
|
subdir-asflags-y := -I$(incdir)
|
|
subdir-ccflags-y := -I$(incdir) \
|
|
-fno-stack-protector \
|
|
-DDISABLE_BRANCH_PROFILING \
|
|
$(DISABLE_STACKLEAK_PLUGIN)
|
|
|
|
obj-$(CONFIG_KVM) += vhe/ nvhe/ pgtable.o
|