]> git.baikalelectronics.ru Git - kernel.git/commit
xtensa: Flat DeviceTree copy not future-safe
authorVineet Gupta <Vineet.Gupta1@synopsys.com>
Thu, 21 Feb 2013 18:39:22 +0000 (00:09 +0530)
committerChris Zankel <chris@zankel.net>
Mon, 8 Jul 2013 08:18:57 +0000 (01:18 -0700)
commitc9de3093b5b3926b9a8e320a23f405e1ee2dfb91
tree2afc4d94520cdb8de6045bb894ccf5fa62d83e33
parent6420e1b2eb98e2ba325dce5313a4ae158d8cd978
xtensa: Flat DeviceTree copy not future-safe

flat DT copy code calls bootmem allocator with @align = 0.
This is probably OK with legacy allocator which xtensa uses right now,
but this will panic right away with memblock allocator

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Marc Gauthier <marc@tensilica.com>
Cc: linux-xtensa@linux-xtensa.org
Cc: linux-kernel@vger.kernel.org
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
arch/xtensa/kernel/setup.c