diff options
author | 2013-04-29 15:08:14 -0700 | |
---|---|---|
committer | 2013-04-29 15:54:37 -0700 | |
commit | f1cb08798e2497238b28f377bd131426f0b9835d (patch) | |
tree | 9d58a1463766d99af3b123177dc31837700185d2 /include/linux/vmstat.h | |
parent | mm/memcontrol.c: remove unnecessary ; (diff) | |
download | linux-f1cb08798e2497238b28f377bd131426f0b9835d.tar.gz linux-f1cb08798e2497238b28f377bd131426f0b9835d.tar.bz2 linux-f1cb08798e2497238b28f377bd131426f0b9835d.zip |
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/vmstat.h')
-rw-r--r-- | include/linux/vmstat.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/vmstat.h b/include/linux/vmstat.h index 5fd71a7d0dfd..c586679b6fef 100644 --- a/include/linux/vmstat.h +++ b/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 |