diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/vmstat.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/vmstat.h b/include/linux/vmstat.h index 532360010919..5e9803ed17fc 100644 --- a/include/linux/vmstat.h +++ b/include/linux/vmstat.h | |||
| @@ -74,7 +74,13 @@ static inline void count_vm_events(enum vm_event_item item, long delta) | |||
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | extern void all_vm_events(unsigned long *); | 76 | extern void all_vm_events(unsigned long *); |
| 77 | #ifdef CONFIG_HOTPLUG | ||
| 77 | extern void vm_events_fold_cpu(int cpu); | 78 | extern void vm_events_fold_cpu(int cpu); |
| 79 | #else | ||
| 80 | static inline void vm_events_fold_cpu(int cpu) | ||
| 81 | { | ||
| 82 | } | ||
| 83 | #endif | ||
| 78 | 84 | ||
| 79 | #else | 85 | #else |
| 80 | 86 | ||
