Files
linux/arch/arm/kernel
Dave Martin e2ccba4908 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]>
2013-11-30 22:21:02 +00:00
..
…
2013-03-03 22:54:18 +00:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2013-05-21 14:24:11 +00:00
2013-10-19 20:46:33 +01:00
2013-10-19 20:46:33 +01:00
2013-05-05 00:07:22 -04:00
…
…