diff options
author | David Rientjes <[email protected]> | 2011-09-14 16:21:05 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-09-14 18:09:37 -0700 |
commit | 0d6617c7732c083659566117ca620eda6f1a87af (patch) | |
tree | 7048e92884564d04dc330b9eb1fe81b64d9b7424 /lib/mpi/mpiutil.c | |
parent | 2bbff6c761e31b4642d297513cd3e0e89bc68ff7 (diff) |
numa: fix NUMA compile error when sysfs and procfs are disabled
The vmstat_text array is only defined for CONFIG_SYSFS or CONFIG_PROC_FS,
yet it is referenced for per-node vmstat with CONFIG_NUMA:
drivers/built-in.o: In function `node_read_vmstat':
node.c:(.text+0x1106df): undefined reference to `vmstat_text'
Introduced in commit fa25c503dfa2 ("mm: per-node vmstat: show proper
vmstats").
Define the array for CONFIG_NUMA as well.
[[email protected]: remove unneeded ifdefs]
Signed-off-by: David Rientjes <[email protected]>
Reported-by: Cong Wang <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions