diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2013-04-28 13:37:34 +0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-04-30 10:00:11 +0400 |
commit | 74f227b22897e0db52a58f8f634e9ce6f67cc652 (patch) | |
tree | 987b31602251010b3335389510cf5d037d331413 /arch/powerpc/include/asm/machdep.h | |
parent | 5c1f6ee9a31cbdac90bbb8ae1ba4475031ac74b4 (diff) | |
download | linux-74f227b22897e0db52a58f8f634e9ce6f67cc652.tar.xz |
powerpc: Use encode avpn where we need only avpn values
In all these cases we are doing something similar to
HPTE_V_COMPARE(hpte_v, want_v) which ignores the HPTE_V_LARGE bit
With MPSS support we would need actual page size to set HPTE_V_LARGE
bit and that won't be available in most of these cases. Since we are ignoring
HPTE_V_LARGE bit, use the avpn value instead. There should not be any change
in behaviour after this patch.
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/machdep.h')
0 files changed, 0 insertions, 0 deletions