diff options
author | Andy Whitcroft <apw@shadowen.org> | 2006-12-06 23:33:08 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 11:39:23 -0500 |
commit | ce421c799b5bde77aa60776d6fb61036ae0aea11 (patch) | |
tree | 98e0a52cdafdfa28c986991f57854209e68b8226 /mm/page_alloc.c | |
parent | 5d1854e15ee979f8e27330f0d3ce5e2703afa1dc (diff) |
[PATCH] mm: cleanup indentation on switch for CPU operations
These patches introduced new switch statements which are indented contrary
to the concensus in mm/*.c. Fix them up to match that concensus.
[PATCH] node local per-cpu-pages
[PATCH] ZVC: Scale thresholds depending on the size of the system
commit e7c8d5c9955a4d2e88e36b640563f5d6d5aba48a
commit df9ecaba3f152d1ea79f2a5e0b87505e03f47590
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Cc: Christoph Lameter <clameter@engr.sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 20 |
1 files changed, 10 insertions, 10 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 | } |