diff --git a/[refs] b/[refs] index 7ec00c50769d..267b46f53f18 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 573b400d01b3411c2436e73d8e63fc1186b94535 +refs/heads/master: f1cb08798e2497238b28f377bd131426f0b9835d diff --git a/trunk/include/linux/vmstat.h b/trunk/include/linux/vmstat.h index 5fd71a7d0dfd..c586679b6fef 100644 --- a/trunk/include/linux/vmstat.h +++ b/trunk/include/linux/vmstat.h @@ -48,13 +48,8 @@ static inline void count_vm_events(enum vm_event_item item, long delta) } extern void all_vm_events(unsigned long *); -#ifdef CONFIG_HOTPLUG + extern void vm_events_fold_cpu(int cpu); -#else -static inline void vm_events_fold_cpu(int cpu) -{ -} -#endif #else diff --git a/trunk/mm/vmstat.c b/trunk/mm/vmstat.c index e1d8ed172c42..c823776f7059 100644 --- a/trunk/mm/vmstat.c +++ b/trunk/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 */