When config pernode, the behavior of 1G hugepage is different
from 2M hugepage, patch 1 will fix this. To avoid printing
useless information, __setup() is modified to always return'1'.
v1->v2:
Split "return 1" into a single patch as suggested by Mike.
Peng Liu (2):
hugetlb: Fix hugepages_setup when deal with pernode
hugetlb: Fix return value of __setup handlers
mm/hugetlb.c | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
--
2.18.0.huawei.25