]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Fix hugetlb page initialization
authorSachin Sant <sachinp@linux.vnet.ibm.com>
Mon, 6 May 2019 12:03:33 +0000 (17:33 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 6 May 2019 12:37:39 +0000 (22:37 +1000)
commit5de11b8522a33b0ccd325b05db87b5bcced1426b
tree7f24dfc5ea53cd6091936150af629f6ae088ad34
parent1b813d24b3c91b4ecff792a85faab0ad3fc150fd
powerpc/mm: Fix hugetlb page initialization

This patch fixes a regression by using correct kernel config variable
for HUGETLB_PAGE_SIZE_VARIABLE.

Without this huge pages are disabled during kernel boot.
[0.309496] hugetlbfs: disabling because there are no supported hugepage sizes

Fixes: 0b56426483e5 ("powerpc/mm: cleanup HPAGE_SHIFT setup")
Reported-by: Sachin Sant <sachinp@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Tested-by: Sachin Sant <sachinp@linux.ibm.com>
Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/hugetlbpage.c