diff options
Diffstat (limited to 'mm/vmstat.c')
| -rw-r--r-- | mm/vmstat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/vmstat.c b/mm/vmstat.c index f42745e65780..20c2ef4458fa 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c | |||
| @@ -1182,7 +1182,7 @@ static void vmstat_update(struct work_struct *w) | |||
| 1182 | round_jiffies_relative(sysctl_stat_interval)); | 1182 | round_jiffies_relative(sysctl_stat_interval)); |
| 1183 | } | 1183 | } |
| 1184 | 1184 | ||
| 1185 | static void __cpuinit start_cpu_timer(int cpu) | 1185 | static void start_cpu_timer(int cpu) |
| 1186 | { | 1186 | { |
| 1187 | struct delayed_work *work = &per_cpu(vmstat_work, cpu); | 1187 | struct delayed_work *work = &per_cpu(vmstat_work, cpu); |
| 1188 | 1188 | ||
| @@ -1194,7 +1194,7 @@ static void __cpuinit start_cpu_timer(int cpu) | |||
| 1194 | * Use the cpu notifier to insure that the thresholds are recalculated | 1194 | * Use the cpu notifier to insure that the thresholds are recalculated |
| 1195 | * when necessary. | 1195 | * when necessary. |
| 1196 | */ | 1196 | */ |
| 1197 | static int __cpuinit vmstat_cpuup_callback(struct notifier_block *nfb, | 1197 | static int vmstat_cpuup_callback(struct notifier_block *nfb, |
| 1198 | unsigned long action, | 1198 | unsigned long action, |
| 1199 | void *hcpu) | 1199 | void *hcpu) |
| 1200 | { | 1200 | { |
| @@ -1226,7 +1226,7 @@ static int __cpuinit vmstat_cpuup_callback(struct notifier_block *nfb, | |||
| 1226 | return NOTIFY_OK; | 1226 | return NOTIFY_OK; |
| 1227 | } | 1227 | } |
| 1228 | 1228 | ||
| 1229 | static struct notifier_block __cpuinitdata vmstat_notifier = | 1229 | static struct notifier_block vmstat_notifier = |
| 1230 | { &vmstat_cpuup_callback, NULL, 0 }; | 1230 | { &vmstat_cpuup_callback, NULL, 0 }; |
| 1231 | #endif | 1231 | #endif |
| 1232 | 1232 | ||
