diff options
author | Dave Martin <[email protected]> | 2013-11-25 14:54:47 +0100 |
---|---|---|
committer | Russell King <[email protected]> | 2013-11-30 22:21:02 +0000 |
commit | e2ccba49085ab5d71b092de2a5176eb9b19cc876 (patch) | |
tree | bbc2d16349c5f6deef37e2b0dc51422158fa4730 /lib/mpi/mpi-internal.h | |
parent | 50913336ef3c9270b5e2b44a5d81230d7db42fc5 (diff) |
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 <[email protected]>
Acked-by: Will Deacon <[email protected]>
Reported-by: Taras Kondratiuk <[email protected]>
Tested-by: Taras Kondratiuk <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions