From: Dave Martin Date: Mon, 25 Nov 2013 13:54:47 +0000 (+0100) Subject: ARM: 7897/1: kexec: Use the right ISA for relocate_new_kernel X-Git-Tag: v3.13-rc3~31^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2ccba49085ab5d71b092de2a5176eb9b19cc876;p=pandora-kernel.git ARM: 7897/1: kexec: Use the right ISA for relocate_new_kernel Copying a function with memcpy() and then trying to execute the result isn't trivially portable to Thumb. This patch modifies the kexec soft restart code to copy its assembler trampoline relocate_new_kernel() using fncpy() instead, so that relocate_new_kernel can be in the same ISA as the rest of the kernel without problems. Signed-off-by: Dave Martin Acked-by: Will Deacon Reported-by: Taras Kondratiuk Tested-by: Taras Kondratiuk Signed-off-by: Russell King --- Reading git-diff-tree failed