diff options
author | Marc Zyngier <maz@kernel.org> | 2021-10-10 15:56:27 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-10-11 14:57:27 +0100 |
commit | cc1e6fdfa92b82902883b70dafa729d3bd427b80 (patch) | |
tree | 3339e9a18609a9a25213d6e0afe1d9fe4bed975a /arch/arm64/kvm/hyp | |
parent | 7dd9b5a157485ae8c48f76f087b1867ace016613 (diff) | |
download | lwn-cc1e6fdfa92b82902883b70dafa729d3bd427b80.tar.gz lwn-cc1e6fdfa92b82902883b70dafa729d3bd427b80.zip |
KVM: arm64: Don't include switch.h into nvhe/kvm-main.c
hyp-main.c includes switch.h while it only requires adjust-pc.h.
Fix it to remove an unnecessary dependency.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20211010145636.1950948-3-tabba@google.com
Diffstat (limited to 'arch/arm64/kvm/hyp')
-rw-r--r-- | arch/arm64/kvm/hyp/nvhe/hyp-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kvm/hyp/nvhe/hyp-main.c b/arch/arm64/kvm/hyp/nvhe/hyp-main.c index 2da6aa8da868..8ca1104f4774 100644 --- a/arch/arm64/kvm/hyp/nvhe/hyp-main.c +++ b/arch/arm64/kvm/hyp/nvhe/hyp-main.c @@ -4,7 +4,7 @@ * Author: Andrew Scull <ascull@google.com> */ -#include <hyp/switch.h> +#include <hyp/adjust_pc.h> #include <asm/pgtable-types.h> #include <asm/kvm_asm.h> |