Files
linux/arch/arm/kernel
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
2018-01-21 15:37:56 +00:00
2014-11-21 15:24:50 +00:00
2017-08-14 16:22:55 +01:00
2018-08-22 10:52:44 -07:00
2019-06-15 11:54:00 +02:00
2014-11-21 15:24:50 +00:00
2018-07-20 00:02:41 +02:00