diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/include/asm/kvm_book3s_64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/kvm_book3s_64.h b/arch/powerpc/include/asm/kvm_book3s_64.h index 0aa817933e6a..a37f1a4a5b0b 100644 --- a/arch/powerpc/include/asm/kvm_book3s_64.h +++ b/arch/powerpc/include/asm/kvm_book3s_64.h | |||
@@ -148,7 +148,7 @@ static inline unsigned long compute_tlbie_rb(unsigned long v, unsigned long r, | |||
148 | /* This covers 14..54 bits of va*/ | 148 | /* This covers 14..54 bits of va*/ |
149 | rb = (v & ~0x7fUL) << 16; /* AVA field */ | 149 | rb = (v & ~0x7fUL) << 16; /* AVA field */ |
150 | 150 | ||
151 | rb |= v >> (62 - 8); /* B field */ | 151 | rb |= (v >> HPTE_V_SSIZE_SHIFT) << 8; /* B field */ |
152 | /* | 152 | /* |
153 | * AVA in v had cleared lower 23 bits. We need to derive | 153 | * AVA in v had cleared lower 23 bits. We need to derive |
154 | * that from pteg index | 154 | * that from pteg index |