From: Andrew Morton Let's program in C. Cc: Magnus Damm Cc: Christoph Lameter Signed-off-by: Andrew Morton --- include/linux/vmstat.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff -puN include/linux/vmstat.h~fix-vm_events_fold_cpu-build-breakage-fix include/linux/vmstat.h --- a/include/linux/vmstat.h~fix-vm_events_fold_cpu-build-breakage-fix +++ a/include/linux/vmstat.h @@ -84,7 +84,9 @@ extern void all_vm_events(unsigned long #ifdef CONFIG_HOTPLUG extern void vm_events_fold_cpu(int cpu); #else -#define vm_events_fold_cpu(x) do { } while (0) +static inline void vm_events_fold_cpu(int cpu) +{ +} #endif #else _