From 35bd3cd440f6b0aae82c84da6f58ed005e0da27d Mon Sep 17 00:00:00 2001 From: Magnus Damm Date: Fri, 22 Dec 2006 01:08:01 -0800 Subject: [PATCH] --- yaml --- r: 44884 b: refs/heads/master c: e903387f1ebe3a7ddb93cd49c38341d3632df528 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/vmstat.h | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 5381d697eec0..b8514872ee4e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 67af63a6ab4ce064f807bdce614fe0fa2bcea252 +refs/heads/master: e903387f1ebe3a7ddb93cd49c38341d3632df528 diff --git a/trunk/include/linux/vmstat.h b/trunk/include/linux/vmstat.h index 532360010919..5e9803ed17fc 100644 --- a/trunk/include/linux/vmstat.h +++ b/trunk/include/linux/vmstat.h @@ -74,7 +74,13 @@ 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