From: Dominik Dingel Date: Fri, 17 Jul 2015 23:23:37 +0000 (-0700) Subject: mm: hugetlb: allow hugepages_supported to be architecture specific X-Git-Tag: v3.2.81~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb67feac907a5a0f991b902b4746231e175d624b;p=pandora-kernel.git mm: hugetlb: allow hugepages_supported to be architecture specific commit 2531c8cf56a640cd7d17057df8484e570716a450 upstream. s390 has a constant hugepage size, by setting HPAGE_SHIFT we also change e.g. the pageblock_order, which should be independent in respect to hugepage support. With this patch every architecture is free to define how to check for hugepage support. Signed-off-by: Dominik Dingel Acked-by: Martin Schwidefsky Cc: Heiko Carstens Cc: Christian Borntraeger Cc: Michael Holzheu Cc: Gerald Schaefer Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed