diff options
author | David Rientjes <rientjes@google.com> | 2014-08-07 01:06:54 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-07 03:01:19 +0200 |
commit | ed4d4902ebdd7ca8b5a51daaf6bebf4b172895cc (patch) | |
tree | d2da9377a11a90047d640c554220a3cfb4d1249c /mm/vmalloc.c | |
parent | mm, hugetlb: generalize writes to nr_hugepages (diff) | |
download | linux-ed4d4902ebdd7ca8b5a51daaf6bebf4b172895cc.tar.xz linux-ed4d4902ebdd7ca8b5a51daaf6bebf4b172895cc.zip |
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 <rientjes@google.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Reviewed-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmalloc.c')
0 files changed, 0 insertions, 0 deletions