mm/hugetlb.c: make vma_shareable() return bool
authorNicholas Krause <xerofoify@gmail.com>
Fri, 4 Sep 2015 22:47:58 +0000 (15:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Sep 2015 23:54:41 +0000 (16:54 -0700)
commit31aafb45f4e1c34e4aba37c150ae4e74880b46ed
treeed2e7c2305db5cbded30d2ae24702bc7a1c3d3d6
parent1027e4436b6a5c413c95d95e50d0f26348a602ac
mm/hugetlb.c: make vma_shareable() return bool

This makes vma_shareable() return bool now due to this particular function
only ever returning either one or zero as its return value.

Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
Acked-by: Mike Kravetz <mike.kravetz@oracle.com>
Acked-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/hugetlb.c