From: Becky Bruce Date: Mon, 10 Oct 2011 10:50:37 +0000 (+0000) Subject: powerpc: hugetlb: fix huge_ptep_set_access_flags return value X-Git-Tag: v3.3-rc1~181^2~49^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97632e6fbea5b996669ffee21d869ed09848e1ec;p=pandora-kernel.git powerpc: hugetlb: fix huge_ptep_set_access_flags return value There was an unconditional return of "1" in the original code from David Gibson, and I dropped it because it wasn't needed for FSL BOOKE 32-bit. However, not all systems (including 64-bit FSL BOOKE) do loading of the hpte from the fault handler asm and depend on this function returning 1, which causes a call to update_mmu_cache() that writes an entry into the tlb. Signed-off-by: Becky Bruce Signed-off-by: David Gibson Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed