diff options
author | Arnd Bergmann <arnd@arndb.de> | 2023-05-17 16:18:07 +0300 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2023-05-26 20:38:23 +0300 |
commit | 15d5daa0a7006b9bd4dcc49f90e7ac8ddbe102f2 (patch) | |
tree | 397b05ef545b8b59977428bdf1ea621223b9f766 /crypto/tcrypt.c | |
parent | cb0b50b813f6198b7d44ae8e169803440333577a (diff) | |
download | linux-15d5daa0a7006b9bd4dcc49f90e7ac8ddbe102f2.tar.xz |
kallsyms: remove unused arch_get_kallsym() helper
The arch_get_kallsym() function was introduced so that x86 could override
it, but that override was removed in bf904d2762ee ("x86/pti/64: Remove
the SYSCALL64 entry trampoline"), so now this does nothing except causing
a warning about a missing prototype:
kernel/kallsyms.c:662:12: error: no previous prototype for 'arch_get_kallsym' [-Werror=missing-prototypes]
662 | int __weak arch_get_kallsym(unsigned int symnum, unsigned long *value,
Restore the old behavior before d83212d5dd67 ("kallsyms, x86: Export
addresses of PTI entry trampolines") to simplify the code and avoid
the warning.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Alan Maguire <alan.maguire@oracle.com>
[mcgrof: fold in bpf selftest fix]
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'crypto/tcrypt.c')
0 files changed, 0 insertions, 0 deletions