KVM: arm64: Don't include switch.h into nvhe/kvm-main.c
authorMarc Zyngier <maz@kernel.org>
Sun, 10 Oct 2021 14:56:27 +0000 (15:56 +0100)
committerMarc Zyngier <maz@kernel.org>
Mon, 11 Oct 2021 13:57:27 +0000 (14:57 +0100)
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
arch/arm64/kvm/hyp/nvhe/hyp-main.c

index 2da6aa8da8680d1e6c17415e0ee16d13fd26d3bc..8ca1104f4774b62170fe43a55d5d50caeb7a53eb 100644 (file)
@@ -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>