From: Guenter Roeck Date: Sun, 21 Sep 2014 22:04:53 +0000 (-0700) Subject: Revert "percpu: free percpu allocation info for uniprocessor system" X-Git-Tag: v3.4.106~172 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e48aa5819ec9d87953110ca6ea2079b17d94524;p=thirdparty%2Fkernel%2Fstable.git 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 Cc: Honggang Li Signed-off-by: Guenter Roeck Signed-off-by: Tejun Heo Fixes: 3189eddbcafc ("percpu: free percpu allocation info for uniprocessor system") Signed-off-by: Zefan Li --- diff --git a/mm/percpu.c b/mm/percpu.c index 5f6042b61ca8b..13b2eefabfdd3 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 */