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 <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>
2013-11-30 22:21:02 +00:00
..
2013-10-09 16:54:10 -07:00
2013-10-10 20:25:06 -04:00
2013-06-20 11:24:11 +01:00
2012-09-03 22:55:56 +01:00
2013-07-26 14:55:59 +01:00
2013-04-09 14:13:32 -04:00
2013-07-26 14:55:59 +01:00
2013-09-06 13:30:06 -07:00
2013-03-03 22:54:18 +00:00
2012-03-21 01:59:40 -04:00
2013-01-16 14:30:06 -08:00
2013-10-09 20:03:55 -05:00
2013-04-29 18:28:13 -07:00
2012-03-28 18:30:01 +01:00
2013-11-12 10:59:08 +00:00
2013-10-19 20:46:33 +01:00
2013-09-27 17:59:47 +02:00
2013-07-31 11:12:58 +01:00
2013-04-30 17:04:10 -07:00
2013-08-20 00:11:50 +01:00
2012-07-31 10:30:42 +01:00
2013-07-14 19:36:52 -04:00
2013-08-01 14:41:40 +01:00
2013-11-14 11:13:09 +00:00
2013-10-29 11:06:27 +00:00
2013-07-22 14:30:34 +01:00
2012-03-30 11:51:46 +01:00
2012-03-24 09:38:56 +00:00
2013-04-02 11:05:40 -07:00
2012-03-24 09:38:56 +00:00
2012-03-28 18:30:01 +01:00
2012-10-09 17:07:43 +02:00
2012-11-19 11:08:17 +01:00
2012-06-14 15:11:44 +01:00
2013-10-29 11:06:27 +00:00
2013-11-30 22:21:02 +00:00
2013-10-30 22:20:26 +00:00
2013-11-14 08:51:29 +09:00
2012-03-24 09:38:55 +00:00
2012-03-24 09:38:55 +00:00
2013-10-29 11:06:27 +00:00
2013-01-16 12:01:59 +00:00
2013-03-03 22:54:17 +00:00
2013-01-16 12:01:59 +00:00
2013-10-09 14:33:07 +01:00
2013-09-30 16:41:50 +01:00
2013-08-13 20:23:28 +01:00
2013-10-01 16:34:10 -05:00
2013-05-21 14:24:11 +00:00
2013-07-09 10:33:25 -07:00
2013-11-30 22:21:02 +00:00
2013-03-19 11:43:46 +00:00
2013-11-14 08:51:29 +09:00
2013-11-12 10:59:08 +00:00
2013-11-30 22:21:00 +00:00
2013-10-30 22:20:26 +00:00
2013-10-19 20:46:33 +01:00
2013-10-29 11:06:13 +00:00
2013-10-19 20:46:33 +01:00
2013-11-12 10:58:59 +00:00
2013-07-30 09:00:43 -04:00
2013-05-05 00:07:22 -04:00
2012-11-28 22:13:54 -05:00
2012-05-15 14:08:35 -07:00
2013-04-17 16:53:24 +01:00
2012-04-25 19:49:26 +01:00
2013-09-29 21:09:15 +02:00
2013-08-21 10:29:52 +01:00
2013-11-19 00:41:03 +00:00
2013-09-02 13:49:29 +01:00
2013-07-31 21:34:24 +01:00