Aneesh Kumar K.V ff8b85796d powerpc/mm/hugetlb: Don't panic when we don't find the default huge page size
The generic hugetlbfs code can handle not finding the default huge page
size correctly. With HPAGE_SHIFT = 0 we see in dmesg:

  hugetlbfs: disabling because there are no supported hugepage sizes

bash-4.2# echo 30 > /proc/sys/vm/nr_hugepages
bash: echo: write error: Operation not supported

Fixes: 03bb2d65900c ("powerpc: get hugetlbpage handling more generic")
Reported-by: Chris Smart <chris@distroguy.com>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Acked-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2017-01-18 11:58:50 +11:00
..
2016-07-09 02:02:48 -05:00
2016-08-07 23:50:09 -04:00
2013-04-18 13:03:54 +10:00
2016-12-25 10:47:44 +01:00
2016-12-16 09:26:42 -08:00
2016-10-07 20:19:31 -07:00
2016-12-16 09:26:42 -08:00
2015-03-18 10:48:59 +11:00
2015-03-18 10:48:59 +11:00