Browse Source

ARM: KVM: move include of asm/idmap.h to kvm_mmu.h

Since the arm64 code doesn't have a global asm/idmap.h file, move
the inclusion to asm/kvm_mmu.h.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Marc Zyngier 12 years ago
parent
commit
06fe0b73ff
2 changed files with 1 additions and 1 deletions
  1. 1 0
      arch/arm/include/asm/kvm_mmu.h
  2. 0 1
      arch/arm/kvm/mmu.c

+ 1 - 0
arch/arm/include/asm/kvm_mmu.h

@@ -21,6 +21,7 @@
 
 #include <asm/cacheflush.h>
 #include <asm/pgalloc.h>
+#include <asm/idmap.h>
 
 /*
  * We directly use the kernel VA for the HYP, as we can directly share

+ 0 - 1
arch/arm/kvm/mmu.c

@@ -20,7 +20,6 @@
 #include <linux/kvm_host.h>
 #include <linux/io.h>
 #include <trace/events/kvm.h>
-#include <asm/idmap.h>
 #include <asm/pgalloc.h>
 #include <asm/cacheflush.h>
 #include <asm/kvm_arm.h>