mm/hugetlb.c: fix build failure with !CONFIG_SYSCTL
authorIngo Molnar <mingo@elte.hu>
Fri, 25 Jul 2008 10:57:41 +0000 (12:57 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 18:35:41 +0000 (11:35 -0700)
commite44d1b2998d62a1f2f4d7eb17b56ba396535509f
treefebb4d6e113c34e0f83375712f078da41a0a59af
parent5047887caf1806f31652210df27fb62a7c43f27d
mm/hugetlb.c: fix build failure with !CONFIG_SYSCTL

on !CONFIG_SYSCTL on x86 with latest -git i get:

     mm/hugetlb.c: In function 'decrement_hugepage_resv_vma':
     mm/hugetlb.c:83: error: 'reserve' undeclared (first use in this function)
     mm/hugetlb.c:83: error: (Each undeclared identifier is reported only once
     mm/hugetlb.c:83: error: for each function it appears in.)

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/hugetlb.c