summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2013-04-18 09:47:10 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2013-04-23 17:17:58 +1000
commit666f5dffb884f59a12e99f9fb5f0a4bb178114ff (patch)
tree6ac5f7182d3585b63359e2af4589d44c299d8a90 /mm
parent4f92b8e901888d70238b030c8ff47a13cdd1f1b1 (diff)
mm: remove CONFIG_HOTPLUG ifdefs
CONFIG_HOTPLUG is going away as an option, cleanup CONFIG_HOTPLUG ifdefs in mm files. Signed-off-by: Yijing Wang <wangyijing@huawei.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Rik van Riel <riel@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/vmstat.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/vmstat.c b/mm/vmstat.c
index e1d8ed172c42..c823776f7059 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -52,7 +52,6 @@ void all_vm_events(unsigned long *ret)
}
EXPORT_SYMBOL_GPL(all_vm_events);
-#ifdef CONFIG_HOTPLUG
/*
* Fold the foreign cpu events into our own.
*
@@ -69,7 +68,6 @@ void vm_events_fold_cpu(int cpu)
fold_state->event[i] = 0;
}
}
-#endif /* CONFIG_HOTPLUG */
#endif /* CONFIG_VM_EVENT_COUNTERS */