* [PATCH] mm: Remove refresh_cpu_vm_stats() definition for !SMP kernel.
@ 2015-10-28 11:01 Tetsuo Handa
0 siblings, 0 replies; only message in thread
From: Tetsuo Handa @ 2015-10-28 11:01 UTC (permalink / raw)
To: akpm, linux-mm; +Cc: Tetsuo Handa
refresh_cpu_vm_stats(int cpu) is no longer referenced by !SMP kernel
since Linux 3.12.
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
diff --git a/include/linux/vmstat.h b/include/linux/vmstat.h
index 82e7db7..95d2130 100644
--- a/include/linux/vmstat.h
+++ b/include/linux/vmstat.h
@@ -269,7 +269,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) { }
--
1.8.3.1
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-10-28 11:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-28 11:01 [PATCH] mm: Remove refresh_cpu_vm_stats() definition for !SMP kernel Tetsuo Handa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox