diff options
author | Mihai Caraman <mihai.caraman@freescale.com> | 2012-10-11 10:13:25 +0400 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-12-06 04:34:15 +0400 |
commit | e9666ea1b3d11509b76f8ff5b9776d8d30709b19 (patch) | |
tree | 67db843e94b9c6f72ecbc4807692560e72fcee75 /arch/powerpc/include/asm/mmu-book3e.h | |
parent | 9e2fa646936160eca525bcb80c2cce05faa9b208 (diff) | |
download | linux-e9666ea1b3d11509b76f8ff5b9776d8d30709b19.tar.xz |
KVM: PPC: booke: Extend MAS2 EPN mask for 64-bit
Extend MAS2 EPN mask to retain most significant bits on 64-bit hosts.
Use this mask in tlb effective address accessor.
Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include/asm/mmu-book3e.h')
-rw-r--r-- | arch/powerpc/include/asm/mmu-book3e.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/mmu-book3e.h b/arch/powerpc/include/asm/mmu-book3e.h index eeabcdbc30f7..99d43e0c1e4a 100644 --- a/arch/powerpc/include/asm/mmu-book3e.h +++ b/arch/powerpc/include/asm/mmu-book3e.h @@ -59,7 +59,7 @@ #define MAS1_TSIZE_SHIFT 7 #define MAS1_TSIZE(x) (((x) << MAS1_TSIZE_SHIFT) & MAS1_TSIZE_MASK) -#define MAS2_EPN 0xFFFFF000 +#define MAS2_EPN (~0xFFFUL) #define MAS2_X0 0x00000040 #define MAS2_X1 0x00000020 #define MAS2_W 0x00000010 |