diff options
| author | 2026-10-07 08:35:27 +0100 | |
|---|---|---|
| committer | 2026-10-07 13:30:28 +0100 | |
| commit | 0c4063f89bfdf204112651f45620ef0c5a691e6b (patch) | |
| tree | 79ae89f07d6dac5130c59bead38f73e9937cea84 /scripts/Makefile.thinlto | |
| parent | KVM: arm64: Include kvm_emulate.h in kvm/arm_psci.h (diff) | |
KVM: arm64: Avoid including linux/kvm_host.h in kvm_pgtable.h
To avoid future include cycles, drop the linux/kvm_host.h include in
kvm_pgtable.h and include the lightweight headers required for the types
and inline helpers used there. Additionally provide a forward
declaration for struct kvm_s2_mmu as it's only used as a pointer in this
file.
Both pgtable.c and kvm_pkvm.h relied on the indirect inclusion of
kvm_host.h, so make that explicit.
Reviewed-by: Fuad Tabba <fuad.tabba@linux.dev>
Reviewed-by: Gavin Shan <gshan@redhat.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://patch.msgid.link/20261007073537.2454351-5-suzuki.poulose@arm.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
