diff options
author | Andi Kleen <ak@suse.de> | 2005-11-05 11:25:53 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-14 22:55:13 -0500 |
commit | b0d41693217b3bb5b837940dc7465e82a9d49476 (patch) | |
tree | 965dbdfea6644d57fd107619b2ea9e0c9ec6bdc1 /mm/page_alloc.c | |
parent | fed644132f8ec4bf05b63f79c507c0acaa692c37 (diff) |
[PATCH] x86_64: When cpu_up fails clean up page allocator properly
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 9b43511dbefd..e8810a7e0264 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -1876,11 +1876,10 @@ static int __devinit pageset_cpuup_callback(struct notifier_block *nfb, | |||
1876 | if (process_zones(cpu)) | 1876 | if (process_zones(cpu)) |
1877 | ret = NOTIFY_BAD; | 1877 | ret = NOTIFY_BAD; |
1878 | break; | 1878 | break; |
1879 | #ifdef CONFIG_HOTPLUG_CPU | 1879 | case CPU_UP_CANCELED: |
1880 | case CPU_DEAD: | 1880 | case CPU_DEAD: |
1881 | free_zone_pagesets(cpu); | 1881 | free_zone_pagesets(cpu); |
1882 | break; | 1882 | break; |
1883 | #endif | ||
1884 | default: | 1883 | default: |
1885 | break; | 1884 | break; |
1886 | } | 1885 | } |