diff options
author | Guenter Roeck <linux@roeck-us.net> | 2014-09-21 18:04:53 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-09-21 23:32:38 -0400 |
commit | bb2e226b3bef596dd56be97df655d857b4603923 (patch) | |
tree | 6007d4d9e322ceac4e7bffdd4c28c4e7b2aa3f91 | |
parent | e625305b390790717cf2cccf61efb81299647028 (diff) |
Revert "percpu: free percpu allocation info for uniprocessor system"
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")
Cc: stable@vger.kernel.org # Please don't apply 3189eddbcafc
-rw-r--r-- | mm/percpu.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/percpu.c b/mm/percpu.c index af3dd2704efd..e10f9f7a8887 100644 --- a/mm/percpu.c +++ b/mm/percpu.c | |||
@@ -2250,8 +2250,6 @@ void __init setup_per_cpu_areas(void) | |||
2250 | 2250 | ||
2251 | if (pcpu_setup_first_chunk(ai, fc) < 0) | 2251 | if (pcpu_setup_first_chunk(ai, fc) < 0) |
2252 | panic("Failed to initialize percpu areas."); | 2252 | panic("Failed to initialize percpu areas."); |
2253 | |||
2254 | pcpu_free_alloc_info(ai); | ||
2255 | } | 2253 | } |
2256 | 2254 | ||
2257 | #endif /* CONFIG_SMP */ | 2255 | #endif /* CONFIG_SMP */ |