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 614d427854a8..5d123b399713 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, | |||
2042 | int ret = NOTIFY_OK; | 2042 | int ret = NOTIFY_OK; |
2043 | 2043 | ||
2044 | switch (action) { | 2044 | switch (action) { |
2045 | case CPU_UP_PREPARE: | 2045 | case CPU_UP_PREPARE: |
2046 | if (process_zones(cpu)) | 2046 | if (process_zones(cpu)) |
2047 | ret = NOTIFY_BAD; | 2047 | ret = NOTIFY_BAD; |
2048 | break; | 2048 | break; |
2049 | case CPU_UP_CANCELED: | 2049 | case CPU_UP_CANCELED: |
2050 | case CPU_DEAD: | 2050 | case CPU_DEAD: |
2051 | free_zone_pagesets(cpu); | 2051 | free_zone_pagesets(cpu); |
2052 | break; | 2052 | break; |
2053 | default: | 2053 | default: |
2054 | break; | 2054 | break; |
2055 | } | 2055 | } |
2056 | return ret; | 2056 | return ret; |
2057 | } | 2057 | } |
diff --git a/mm/vmstat.c b/mm/vmstat.c index 8614e8f6743b..ef4176843d9e 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c | |||
@@ -679,13 +679,13 @@ static int __cpuinit vmstat_cpuup_callback(struct notifier_block *nfb, | |||
679 | void *hcpu) | 679 | void *hcpu) |
680 | { | 680 | { |
681 | switch (action) { | 681 | switch (action) { |
682 | case CPU_UP_PREPARE: | 682 | case CPU_UP_PREPARE: |
683 | case CPU_UP_CANCELED: | 683 | case CPU_UP_CANCELED: |
684 | case CPU_DEAD: | 684 | case CPU_DEAD: |
685 | refresh_zone_stat_thresholds(); | 685 | refresh_zone_stat_thresholds(); |
686 | break; | 686 | break; |
687 | default: | 687 | default: |
688 | break; | 688 | break; |
689 | } | 689 | } |
690 | return NOTIFY_OK; | 690 | return NOTIFY_OK; |
691 | } | 691 | } |