diff options
author | Aneesh Kumar K.V | 2013-05-12 00:33:19 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt | 2013-05-14 06:36:17 +0200 |
commit | 613e60a66181acc5c8b63268e939622162da2393 (patch) | |
tree | 83bacb8d2ff1861a3fa5208b5d24953a0555d9db /arch/powerpc/mm/init_64.c | |
parent | powerpc: hard_irq_disable(): Call trace_hardirqs_off after disabling (diff) | |
download | kernel-qcow2-linux-613e60a66181acc5c8b63268e939622162da2393.tar.gz kernel-qcow2-linux-613e60a66181acc5c8b63268e939622162da2393.tar.xz kernel-qcow2-linux-613e60a66181acc5c8b63268e939622162da2393.zip |
powerpc/mm: Use the correct mask value when looking at pgtable address
Our pgtable are 2*sizeof(pte_t)*PTRS_PER_PTE which is PTE_FRAG_SIZE.
Instead of depending on frag size, mask with PMD_MASKED_BITS.
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/mm/init_64.c')
0 files changed, 0 insertions, 0 deletions