Skip to content

Commit cc1e6fd

Browse files
author
Marc Zyngier
committed
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
1 parent 7dd9b5a commit cc1e6fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/kvm/hyp/nvhe/hyp-main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Author: Andrew Scull <ascull@google.com>
55
*/
66

7-
#include <hyp/switch.h>
7+
#include <hyp/adjust_pc.h>
88

99
#include <asm/pgtable-types.h>
1010
#include <asm/kvm_asm.h>

0 commit comments

Comments
 (0)