Ben Dooks
9c62e4ae33
ARM: 8918/2: only build return_address() if needed
...
commit fb033c95c9 upstream.
The system currently warns if the config conditions for
building return_address in arch/arm/kernel/return_address.c
are not met, leaving just an EXPORT_SYMBOL_GPL(return_address)
of a function defined to be 'static linline'.
This is a result of aeea3592a1 ("ARM: 8158/1: LLVMLinux: use static inline in ARM ftrace.h").
Since we're not going to build anything other than an exported
symbol for something that is already being defined to be an
inline-able return of NULL, just avoid building the code to
remove the following warning:
Fixes: aeea3592a1 ("ARM: 8158/1: LLVMLinux: use static inline in ARM ftrace.h")
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk >
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2021-09-22 11:47:46 +02:00
..
2008-08-12 19:54:09 +01:00
2013-10-09 16:54:10 -07:00
2018-01-21 15:37:56 +00:00
2021-05-22 10:59:49 +02:00
2014-11-21 15:24:50 +00:00
2017-09-29 13:57:21 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-12-18 23:07:43 -06:00
2019-02-20 10:25:38 +01:00
2017-08-16 22:25:30 +02:00
2014-04-07 12:10:00 +01:00
2017-11-08 19:42:43 +00:00
2017-08-16 22:25:30 +02:00
2014-11-21 15:24:50 +00:00
2018-05-16 07:23:35 +02:00
2017-10-12 11:29:29 +01:00
2016-04-28 11:33:53 +02:00
2017-11-16 12:50:35 -08:00
2020-06-03 08:19:34 +02:00
2019-11-24 08:20:56 +01:00
2017-06-18 22:25:16 +01:00
2020-06-03 08:19:34 +02:00
2019-04-05 22:33:12 +02:00
2017-11-02 11:10:55 +01:00
2014-07-18 12:29:04 +01:00
2018-12-05 19:32:09 +01:00
2019-11-06 13:06:10 +01:00
2017-09-10 19:34:53 -04:00
2020-01-27 14:50:28 +01:00
2020-12-30 11:25:50 +01:00
2016-02-08 15:48:32 +00:00
2021-05-22 10:59:42 +02:00
2020-02-05 14:43:50 +00:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2019-03-23 20:09:48 +01:00
2014-06-06 16:08:15 -07:00
2017-08-14 16:22:55 +01:00
2019-06-04 08:02:34 +02:00
2017-11-02 11:10:55 +01:00
2021-02-23 15:00:57 +01:00
2021-09-22 11:47:46 +02:00
2017-03-17 10:01:28 +00:00
2017-05-11 14:43:31 +01:00
2017-11-02 11:10:55 +01:00
2011-12-13 08:52:02 +00:00
2015-12-21 14:40:54 +00:00
2019-04-20 09:16:04 +02:00
2017-11-02 11:10:55 +01:00
2018-07-10 18:19:02 +01:00
2021-07-20 16:15:39 +02:00
2018-07-10 18:19:02 +01:00
2017-11-02 11:10:55 +01:00
2016-01-04 11:12:10 +00:00
2018-08-22 10:52:44 -07:00
2015-12-01 22:17:45 +01:00
2020-06-22 09:04:59 +02:00
2017-04-09 07:49:24 -07:00
2017-11-02 11:10:55 +01:00
2021-02-23 15:00:57 +01:00
2021-09-22 11:47:46 +02:00
2021-06-30 08:48:28 -04:00
2021-02-23 15:00:57 +01:00
2017-09-10 19:31:46 -04:00
2017-09-10 19:31:46 -04:00
2020-01-27 14:50:28 +01:00
2021-05-22 10:59:49 +02:00
2017-10-29 08:29:30 -07:00
2017-01-16 17:30:46 +00:00
2017-06-14 11:58:45 +02:00
2019-06-15 11:54:00 +02:00
2020-10-01 13:14:31 +02:00
2021-05-22 10:59:48 +02:00
2018-06-04 15:23:48 -07:00
2018-04-02 20:16:10 +02:00
2019-02-20 10:25:36 +01:00
2015-06-06 10:37:28 +01:00
2014-11-21 15:24:50 +00:00
2018-07-20 00:02:41 +02:00
2017-08-16 22:25:30 +02:00
2020-10-01 13:14:31 +02:00
2019-04-05 22:33:01 +02:00
2013-09-02 13:49:29 +01:00
2020-03-20 11:55:59 +01:00
2018-05-19 11:53:46 +01:00
2018-10-12 08:54:58 +11:00
2018-05-19 11:53:46 +01:00
2015-12-01 21:44:24 +01:00