From: Tetsuo Handa Date: Fri, 6 Nov 2015 02:50:40 +0000 (-0800) Subject: mm: remove refresh_cpu_vm_stats() definition for !SMP kernel X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5ba97bf9d8754bd984e81c1061fcda682681939e;p=openwrt%2Fstaging%2Fblogic.git mm: remove refresh_cpu_vm_stats() definition for !SMP kernel refresh_cpu_vm_stats(int cpu) is no longer referenced by !SMP kernel since Linux 3.12. Signed-off-by: Tetsuo Handa Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/vmstat.h b/include/linux/vmstat.h index 49dfe40b3673..5dbc8b0ee567 100644 --- a/include/linux/vmstat.h +++ b/include/linux/vmstat.h @@ -247,7 +247,6 @@ static inline void __dec_zone_page_state(struct page *page, #define set_pgdat_percpu_threshold(pgdat, callback) { } -static inline void refresh_cpu_vm_stats(int cpu) { } static inline void refresh_zone_stat_thresholds(void) { } static inline void cpu_vm_stats_fold(int cpu) { }