tmp_suning_uos_patched/arch/powerpc/mm
Aneesh Kumar K.V 7b868e81be powerpc/mm: Return NULL for not present hugetlb page
We need to check whether pte is present in follow_huge_addr() and
properly return NULL if mapping is not present. Also use READ_ONCE
when dereferencing pte_t address.

Without this patch, we may wrongly return a zero pfn page in
follow_huge_addr().

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-05-12 11:04:29 +10:00
..
40x_mmu.c
44x_mmu.c
copro_fault.c
dma-noncoherent.c
fault.c
fsl_booke_mmu.c
hash_low_32.S
hash_low_64.S
hash_native_64.c
hash_utils_64.c
highmem.c
hugepage-hash64.c
hugetlbpage-book3e.c
hugetlbpage-hash64.c
hugetlbpage.c
icswx_pid.c
icswx.c
icswx.h
init_32.c
init_64.c
Makefile
mem.c
mmap.c
mmu_context_hash32.c
mmu_context_hash64.c
mmu_context_nohash.c
mmu_decl.h
numa.c
pgtable_32.c
pgtable_64.c
pgtable.c
ppc_mmu_32.c
slb_low.S
slb.c
slice.c
subpage-prot.c
tlb_hash32.c
tlb_hash64.c
tlb_low_64e.S
tlb_nohash_low.S
tlb_nohash.c
vphn.c
vphn.h