Leo Yan
45880f7b7b
error-injection: Consolidate override function definition
...
The function override_function_with_return() is defined separately for
each architecture and every architecture's definition is almost same
with each other. E.g. x86 and powerpc both define function in its own
asm/error-injection.h header and override_function_with_return() has
the same definition, the only difference is that x86 defines an extra
function just_return_func() but it is specific for x86 and is only used
by x86's override_function_with_return(), so don't need to export this
function.
This patch consolidates override_function_with_return() definition into
asm-generic/error-injection.h header, thus all architectures can use the
common definition. As result, the architecture specific headers are
removed; the include/linux/error-injection.h header also changes to
include asm-generic/error-injection.h header rather than architecture
header, furthermore, it includes linux/compiler.h for successful
compilation.
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org >
Signed-off-by: Leo Yan <leo.yan@linaro.org >
Signed-off-by: Will Deacon <will@kernel.org >
2019-08-07 13:52:43 +01:00
..
2019-01-04 13:13:46 -08:00
2019-06-22 21:21:06 +02:00
2018-11-02 08:31:52 +01:00
2018-12-05 09:03:06 +01:00
2017-11-02 11:10:55 +01:00
2019-06-03 12:32:56 +02:00
2019-02-13 08:07:31 +01:00
2019-02-13 08:07:31 +01:00
2019-05-24 17:27:11 +02:00
2017-11-02 11:10:55 +01:00
2018-01-30 19:07:54 -08:00
2017-11-02 11:10:55 +01:00
2017-11-15 13:28:48 -08:00
2019-05-24 17:27:11 +02:00
2019-07-12 11:05:42 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-07-16 19:23:24 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-07-16 19:23:22 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-08-29 15:42:20 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-06-05 17:37:16 +02:00
2017-11-13 08:25:06 -08:00
2017-11-02 11:10:55 +01:00
2018-12-13 21:06:18 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-08-07 13:52:43 +01:00
2019-05-24 17:27:11 +02:00
2018-12-01 23:13:14 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-12-14 15:05:45 -08:00
2019-06-24 09:16:47 +10:00
2019-06-19 17:09:55 +02:00
2019-07-22 11:20:10 +02:00
2019-08-03 07:02:01 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-14 09:47:47 -07:00
2017-11-02 11:10:55 +01:00
2018-06-07 17:34:38 -07:00
2019-05-24 17:27:11 +02:00
2017-11-02 11:10:55 +01:00
2019-01-22 13:39:59 +01:00
2019-05-30 11:26:32 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-03-17 12:56:32 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-06 18:40:44 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-09 10:37:17 +02:00
2019-04-08 11:59:39 +01:00
2019-04-08 11:59:39 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-07-08 19:06:27 -04:00
2017-11-02 11:10:55 +01:00
2019-02-22 21:53:25 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-09 23:19:56 +01:00
2018-05-07 07:15:41 +02:00
2018-10-31 08:54:14 -07:00
2019-07-12 11:05:45 -07:00
2018-12-05 09:03:06 +01:00
2018-12-05 09:03:06 +01:00
2018-11-02 08:31:52 +01:00
2018-12-05 09:03:06 +01:00
2019-05-05 20:32:46 +02:00
2017-11-02 11:10:55 +01:00
2018-02-06 10:28:58 +01:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2017-11-02 11:10:55 +01:00
2019-06-19 17:09:55 +02:00
2019-04-29 10:47:10 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-14 19:52:48 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-24 17:27:11 +02:00
2019-05-30 11:29:21 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-05-30 11:26:32 -07:00
2017-11-02 11:10:55 +01:00
2017-11-17 16:10:05 -08:00
2017-11-02 11:10:55 +01:00
2019-04-23 21:51:41 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-07-17 13:13:41 -07:00
2017-11-02 11:10:55 +01:00
2019-05-24 17:27:13 +02:00