mm, hugetlb: remove hugetlb_zero and hugetlb_infinity
authorDavid Rientjes <[email protected]>
Wed, 6 Aug 2014 23:06:54 +0000 (16:06 -0700)
committerLinus Torvalds <[email protected]>
Thu, 7 Aug 2014 01:01:19 +0000 (18:01 -0700)
commited4d4902ebdd7ca8b5a51daaf6bebf4b172895cc
treed2da9377a11a90047d640c554220a3cfb4d1249c
parent238d3c13f0cce38752072dc90f4e828abdfec143
mm, hugetlb: remove hugetlb_zero and hugetlb_infinity

They are unnecessary: "zero" can be used in place of "hugetlb_zero" and
passing extra2 == NULL is equivalent to infinity.

Signed-off-by: David Rientjes <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Reviewed-by: Naoya Horiguchi <[email protected]>
Reviewed-by: Luiz Capitulino <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/hugetlb.h
kernel/sysctl.c
mm/hugetlb.c