diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2013-04-12 20:12:03 +0200 |
---|---|---|
committer | Christoffer Dall <cdall@cs.columbia.edu> | 2013-04-29 07:23:08 +0200 |
commit | 2fb410596ca917fe6419be61ee5bc1782b17d947 (patch) | |
tree | 9b17527736eb0d7936c9d720721d946768ab5361 /arch/arm/include | |
parent | ARM: KVM: fix HYP mapping limitations around zero (diff) | |
download | linux-2fb410596ca917fe6419be61ee5bc1782b17d947.tar.xz linux-2fb410596ca917fe6419be61ee5bc1782b17d947.zip |
ARM: KVM: move to a KVM provided HYP idmap
After the HYP page table rework, it is pretty easy to let the KVM
code provide its own idmap, rather than expecting the kernel to
provide it. It takes actually less code to do so.
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@cs.columbia.edu>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/idmap.h | 1 | ||||
-rw-r--r-- | arch/arm/include/asm/kvm_mmu.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/include/asm/idmap.h b/arch/arm/include/asm/idmap.h index 1a66f907e5cc..bf863edb517d 100644 --- a/arch/arm/include/asm/idmap.h +++ b/arch/arm/include/asm/idmap.h @@ -8,7 +8,6 @@ #define __idmap __section(.idmap.text) noinline notrace extern pgd_t *idmap_pgd; -extern pgd_t *hyp_pgd; void setup_mm_for_reboot(void); diff --git a/arch/arm/include/asm/kvm_mmu.h b/arch/arm/include/asm/kvm_mmu.h index 970f3b5fa109..3c71a1d4b7a3 100644 --- a/arch/arm/include/asm/kvm_mmu.h +++ b/arch/arm/include/asm/kvm_mmu.h @@ -21,7 +21,6 @@ #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 |