linux/arch/tile/mm
Naoya Horiguchi dd8f776dbe mm/hugetlb: use pmd_page() in follow_huge_pmd()
[ Upstream commit 9753412701 ]

Commit 61f77eda9b ("mm/hugetlb: reduce arch dependent code around
follow_huge_*") broke follow_huge_pmd() on s390, where pmd and pte
layout differ and using pte_page() on a huge pmd will return wrong
results.  Using pmd_page() instead fixes this.

All architectures that were touched by that commit have pmd_page()
defined, so this should not break anything on other architectures.

Fixes: 61f77eda "mm/hugetlb: reduce arch dependent code around follow_huge_*"
Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Acked-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Michal Hocko <mhocko@suse.cz>, Andrea Arcangeli <aarcange@redhat.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Acked-by: David Rientjes <rientjes@google.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2015-05-17 19:12:31 -04:00
..
elf.c tile: implement gettimeofday() via vDSO 2013-08-13 16:26:21 -04:00
extable.c arch/tile: core support for Tilera 32-bit chips. 2010-06-04 17:11:18 -04:00
fault.c vm: add VM_FAULT_SIGSEGV handling support 2015-02-05 22:36:01 -08:00
highmem.c tile: Replace __get_cpu_var uses 2014-08-26 13:45:54 -04:00
homecache.c mm: page_alloc: convert hot/cold parameter and immediate callers to bool 2014-06-04 16:54:09 -07:00
hugetlbpage.c mm/hugetlb: use pmd_page() in follow_huge_pmd() 2015-05-17 19:12:31 -04:00
init.c Merge branch 'for-3.18-consistent-ops' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu 2014-10-15 07:48:18 +02:00
Makefile arch/tile: core support for Tilera 32-bit chips. 2010-06-04 17:11:18 -04:00
migrate.h arch/tile: use interrupt critical sections less 2012-05-25 12:48:20 -04:00
migrate_32.S tile: provide traceability for hypervisor calls 2013-08-13 16:26:31 -04:00
migrate_64.S tile: provide traceability for hypervisor calls 2013-08-13 16:26:31 -04:00
mmap.c tile: support ASLR fully 2013-08-30 11:56:25 -04:00
pgtable.c tile: handle pgtable_page_ctor() fail 2013-11-15 09:32:19 +09:00