Skip to content

Commit

Permalink
Revert "percpu: free percpu allocation info for uniprocessor system"
Browse files Browse the repository at this point in the history
This reverts commit 3189edd ("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: 3189edd ("percpu: free percpu allocation info for uniprocessor system")
Cc: stable@vger.kernel.org # Please don't apply 3189edd
  • Loading branch information
Guenter Roeck authored and Tejun Heo committed Sep 22, 2014
1 parent e625305 commit bb2e226
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mm/percpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit bb2e226

Please sign in to comment.