projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
179a98c
)
s390/mm: use hugetlb_bad_size()
author
Shyam Saini
<mayhs11saini@gmail.com>
Thu, 13 Oct 2016 16:20:07 +0000
(21:50 +0530)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Mon, 17 Oct 2016 09:25:26 +0000
(11:25 +0200)
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
patch
|
blob
|
blame
|
history
diff --git
a/arch/s390/mm/hugetlbpage.c
b/arch/s390/mm/hugetlbpage.c
index cd404aa3931c101c963f9940e80669173453022c..4a0c5bce3552b00ba4863622fcc63de7b711614c 100644
(file)
--- a/
arch/s390/mm/hugetlbpage.c
+++ b/
arch/s390/mm/hugetlbpage.c
@@
-217,6
+217,7
@@
static __init int setup_hugepagesz(char *opt)
} else if (MACHINE_HAS_EDAT2 && size == PUD_SIZE) {
hugetlb_add_hstate(PUD_SHIFT - PAGE_SHIFT);
} else {
+ hugetlb_bad_size();
pr_err("hugepagesz= specifies an unsupported page size %s\n",
string);
return 0;