summaryrefslogtreecommitdiff
path: root/arch/arm/mm
diff options
context:
space:
mode:
authorDave Martin <dave.martin@linaro.org>2013-11-25 14:54:47 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-05 14:54:10 -0700
commit9b21d37838fca95c85b10abf48f3059236ad5d6c (patch)
treee44aefd79b36978b2e3bd7a04e00c20fc35594e0 /arch/arm/mm
parent824a5f2628d62a196b67d6bde4a7fd43bd3f1abe (diff)
downloadlinux-3.10-9b21d37838fca95c85b10abf48f3059236ad5d6c.tar.gz
linux-3.10-9b21d37838fca95c85b10abf48f3059236ad5d6c.tar.bz2
linux-3.10-9b21d37838fca95c85b10abf48f3059236ad5d6c.zip
ARM: 7897/1: kexec: Use the right ISA for relocate_new_kernel
commit e2ccba49085ab5d71b092de2a5176eb9b19cc876 upstream. 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 <Dave.Martin@arm.com> Acked-by: Will Deacon <will.deacon@arm.com> Reported-by: Taras Kondratiuk <taras.kondratiuk@linaro.org> Tested-by: Taras Kondratiuk <taras.kondratiuk@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Integrated-by: Liu Hua <sdu.liu@huawei.com> Signed-off-by: Liu Hua <sdu.liu@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/mm')
0 files changed, 0 insertions, 0 deletions