Revert "percpu: free percpu allocation info for uniprocessor system"
This reverts commit3189eddbca
("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:3189eddbca
("percpu: free percpu allocation info for uniprocessor system") Cc: stable@vger.kernel.org # Please don't apply3189eddbca
This commit is contained in:
parent
e625305b39
commit
bb2e226b3b
|
@ -2250,8 +2250,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 */
|
||||
|
|
Loading…
Reference in New Issue