Russ Dill
49d083bd72
asm-generic: fncpy: Add function copying macros
...
Under certain arches (ARM) function pointers cannot be
used naively. Specifically, for thumb functions, their 0 bit
is set, but they are contained on a word aligned address.
Add a fncpy macro to perform function copies correctly
along with two helpers, fnptr_to_address, and fnptr_translate.
Signed-off-by: Russ Dill <Russ.Dill@ti.com >
2013-11-21 13:39:20 +08:00
..
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:39 +02:00
2013-02-17 08:46:21 +01:00
2011-07-22 18:46:28 +02:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:39 +02:00
2012-05-08 11:43:51 +02:00
2013-02-26 02:46:08 -05:00
2011-07-22 18:46:28 +02:00
2013-11-21 13:39:20 +08:00
2012-05-11 18:00:14 -06:00
2012-10-25 16:06:57 +02:00
2011-07-22 18:46:33 +02:00
2011-07-22 18:46:33 +02:00
2012-12-18 10:08:47 -08:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:28 +02:00
2011-07-22 18:46:28 +02:00
2011-07-22 18:46:39 +02:00
2012-03-06 10:37:21 +01:00
2011-07-22 18:46:28 +02:00
2012-03-23 16:58:31 -07:00
2013-02-10 18:55:29 +01:00
2012-02-26 16:48:06 -07:00
2012-10-09 09:47:18 +01:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:39 +02:00
2011-07-22 18:46:39 +02:00
2012-03-06 10:37:00 +01:00
2012-11-28 23:43:40 -05:00
2013-04-08 17:39:22 +02:00
2011-07-22 18:46:32 +02:00
2011-07-22 18:46:28 +02:00
2011-07-22 18:46:28 +02:00
2012-05-27 21:00:32 -07:00
2011-07-22 18:46:39 +02:00