diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/page_alloc.c | 20 | ||||
-rw-r--r-- | mm/vmstat.c | 14 |
2 files changed, 17 insertions, 17 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 614d427..5d123b3 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -2042,16 +2042,16 @@ static int __cpuinit pageset_cpuup_callback(struct notifier_block *nfb, int ret = NOTIFY_OK; switch (action) { - case CPU_UP_PREPARE: - if (process_zones(cpu)) - ret = NOTIFY_BAD; - break; - case CPU_UP_CANCELED: - case CPU_DEAD: - free_zone_pagesets(cpu); - break; - default: - break; + case CPU_UP_PREPARE: + if (process_zones(cpu)) + ret = NOTIFY_BAD; + break; + case CPU_UP_CANCELED: + case CPU_DEAD: + free_zone_pagesets(cpu); + break; + default: + break; } return ret; } diff --git a/mm/vmstat.c b/mm/vmstat.c index 8614e8f..ef41768 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c @@ -679,13 +679,13 @@ static int __cpuinit vmstat_cpuup_callback(struct notifier_block *nfb, void *hcpu) { switch (action) { - case CPU_UP_PREPARE: - case CPU_UP_CANCELED: - case CPU_DEAD: - refresh_zone_stat_thresholds(); - break; - default: - break; + case CPU_UP_PREPARE: + case CPU_UP_CANCELED: + case CPU_DEAD: + refresh_zone_stat_thresholds(); + break; + default: + break; } return NOTIFY_OK; } |