s390/mm: use hugetlb_bad_size()
authorShyam Saini <mayhs11saini@gmail.com>
Thu, 13 Oct 2016 16:20:07 +0000 (21:50 +0530)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 17 Oct 2016 09:25:26 +0000 (11:25 +0200)
commitb5003b5f0a19b6b37ab32b1f0c6b5da2cb3f0903
tree14629480c30c6c1c0701f0f34d4b59351b49395e
parent179a98cba11b057d9f1cc70cd2a8831f9e9a06e6
s390/mm: use hugetlb_bad_size()

Update setup_hugepagesz() to call hugetlb_bad_size() when unsupported
hugepage size is found.

Signed-off-by: Shyam Saini <mayhs11saini@gmail.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/hugetlbpage.c