summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2014-09-21 15:04:53 -0700
committerZefan Li <lizefan@huawei.com>2015-02-02 17:04:38 +0800
commit8e48aa5819ec9d87953110ca6ea2079b17d94524 (patch)
tree510239cb99e5e1414bb44338d748ae21a62b10e3 /mm
parent2d150da34ec69ac10329d01cab11e9334d0faba7 (diff)
downloadlinux-stable-8e48aa5819ec9d87953110ca6ea2079b17d94524.tar.gz
linux-stable-8e48aa5819ec9d87953110ca6ea2079b17d94524.tar.bz2
linux-stable-8e48aa5819ec9d87953110ca6ea2079b17d94524.zip
Revert "percpu: free percpu allocation info for uniprocessor system"
commit bb2e226b3bef596dd56be97df655d857b4603923 upstream. This reverts commit 3189eddbcafc ("percpu: free percpu allocation info for uniprocessor system"). The commit causes a hang with a crisv32 image. This may be an architecture problem, but at least for now the revert is necessary to be able to boot a crisv32 image. Cc: Tejun Heo <tj@kernel.org> Cc: Honggang Li <enjoymindful@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Tejun Heo <tj@kernel.org> Fixes: 3189eddbcafc ("percpu: free percpu allocation info for uniprocessor system") Signed-off-by: Zefan Li <lizefan@huawei.com>
Diffstat (limited to 'mm')
-rw-r--r--mm/percpu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/percpu.c b/mm/percpu.c
index 5f6042b61ca8..13b2eefabfdd 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -1907,8 +1907,6 @@ void __init setup_per_cpu_areas(void)
if (pcpu_setup_first_chunk(ai, fc) < 0)
panic("Failed to initialize percpu areas.");
-
- pcpu_free_alloc_info(ai);
}
#endif /* CONFIG_SMP */