Files
android_kernel_fxtec_sm6115/include/linux
Brian Vazquez 0bcd0c3e47 UPSTREAM: net: add EXPORT_INDIRECT_CALLABLE wrapper
When a static function is annotated with INDIRECT_CALLABLE_SCOPE and
CONFIG_RETPOLINE is set, the static keyword is removed. Sometimes the
function needs to be exported but EXPORT_SYMBOL can't be used because if
CONFIG_RETPOLINE is not set, we will attempt to export a static symbol.

This patch introduces a new indirect call wrapper:
EXPORT_INDIRECT_CALLABLE. This basically does EXPORT_SYMBOL when
CONFIG_RETPOLINE is set, but does nothing when it's not.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Change-Id: I300ee1a930ec82f44559319344ad8996caee2b4e
Signed-off-by: Brian Vazquez <brianvv@google.com>
Link: https://lore.kernel.org/r/20210204181839.558951-1-brianvv@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-05-31 11:15:47 +01:00
..
2026-04-09 14:44:43 +08:00
2025-08-31 10:10:00 +01:00
2025-09-30 21:35:03 +01:00
2026-01-29 12:09:34 +08:00
2026-05-31 11:15:40 +01:00
2026-05-31 11:15:44 +01:00
2026-05-31 11:15:40 +01:00
2025-09-16 13:55:10 +02:00
2025-08-28 03:26:18 +03:00