提交 bb2e226b 编写于 作者: G Guenter Roeck 提交者: Tejun Heo

Revert "percpu: free percpu allocation info for uniprocessor system"

This reverts commit 3189eddb ("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: NGuenter Roeck <linux@roeck-us.net>
Signed-off-by: NTejun Heo <tj@kernel.org>
Fixes: 3189eddb ("percpu: free percpu allocation info for uniprocessor system")
Cc: stable@vger.kernel.org # Please don't apply 3189eddb
上级 e625305b
...@@ -2250,8 +2250,6 @@ void __init setup_per_cpu_areas(void) ...@@ -2250,8 +2250,6 @@ void __init setup_per_cpu_areas(void)
if (pcpu_setup_first_chunk(ai, fc) < 0) if (pcpu_setup_first_chunk(ai, fc) < 0)
panic("Failed to initialize percpu areas."); panic("Failed to initialize percpu areas.");
pcpu_free_alloc_info(ai);
} }
#endif /* CONFIG_SMP */ #endif /* CONFIG_SMP */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册