]> Pileus Git - ~andy/linux/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)
commit220f5354089b27e8eeaa8658806dabc59ce55729
tree2afc4d94520cdb8de6045bb894ccf5fa62d83e33
parenta99e07ee5e887750f5136bc6799abe47a56fd2c9
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