diff options
author | Nishanth Aravamudan <nacc@us.ibm.com> | 2008-07-26 04:44:37 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-26 21:00:01 +0200 |
commit | 8a21346058ad946134b6ddfeb5de975c3cfcf5da (patch) | |
tree | cd9210fc5a56a5d3090941d62f1bc0217499940f /mm/thrash.c | |
parent | uninline arch_pick_mmap_layout() (diff) | |
download | linux-8a21346058ad946134b6ddfeb5de975c3cfcf5da.tar.xz linux-8a21346058ad946134b6ddfeb5de975c3cfcf5da.zip |
hugetlb: fix CONFIG_SYSCTL=n build
Fixes a build failure reported by Alan Cox:
mm/hugetlb.c: In function `hugetlb_acct_memory': mm/hugetlb.c:1507:
error: implicit declaration of function `cpuset_mems_nr'
Also reverts Ingo's
commit e44d1b2998d62a1f2f4d7eb17b56ba396535509f
Author: Ingo Molnar <mingo@elte.hu>
Date: Fri Jul 25 12:57:41 2008 +0200
mm/hugetlb.c: fix build failure with !CONFIG_SYSCTL
which fixed the build error but added some unused-static-function warnings.
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/thrash.c')
0 files changed, 0 insertions, 0 deletions