mm/hugetlb.c: use first_memory_node
authorAndrew Morton <akpm@linux-foundation.org>
Fri, 20 May 2016 00:11:40 +0000 (17:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 20 May 2016 02:12:14 +0000 (19:12 -0700)
commit54f18d35263334ebcc6bf409fee3c0c8c22e5588
tree8e185ce58ffa288d0c58ff85bd235813ec54832e
parent949698a31af3b3808b0ff0cca26f36e68953bd1f
mm/hugetlb.c: use first_memory_node

Instead of open-coding it.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/hugetlb.c