Nicolas Pitre abee210500 percpu: hack to let the CRIS architecture to boot until they clean up
Commit 438a506180 ("percpu: don't forget to free the temporary struct
pcpu_alloc_info") uncovered a problem on the CRIS architecture where
the bootmem allocator is initialized with virtual addresses. Given it
has:

    #define __va(x) ((void *)((unsigned long)(x) | 0x80000000))

then things just work out because the end result is the same whether you
give this a physical or a virtual address.

Untill you call memblock_free_early(__pa(address)) that is, because
values from __pa() don't match with the virtual addresses stuffed in the
bootmem allocator anymore.

Avoid freeing the temporary pcpu_alloc_info memory on that architecture
until they fix things up to let the kernel boot like it did before.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Fixes: 438a506180 ("percpu: don't forget to free the temporary struct pcpu_alloc_info")
2017-11-27 12:53:12 -08:00
..
2017-11-15 18:21:01 -08:00
2017-06-05 16:59:12 +02:00
2017-11-15 18:21:04 -08:00
2017-02-27 18:43:47 -08:00
2017-11-16 11:41:22 -08:00
2017-11-15 18:21:05 -08:00
2017-11-15 18:21:05 -08:00
2017-11-15 18:21:04 -08:00
2017-11-15 18:21:07 -08:00
2017-11-15 18:21:07 -08:00
2017-11-15 18:21:06 -08:00
2017-11-17 16:10:00 -08:00
2017-11-15 18:21:01 -08:00
2017-11-15 18:21:05 -08:00