diff options
author | Christophe Leroy <[email protected]> | 2022-02-15 13:41:04 +0100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2022-02-16 23:25:11 +1100 |
commit | e1478d8eaf27704db17a44dee4c53696ed01fc9c (patch) | |
tree | 7968852fd3c179c5b9311a9d70f18ed57e5b6ad8 /scripts/gdb/linux/utils.py | |
parent | 0dc690e4ef5b901e9d4b53520854fbd5c749e09d (diff) |
asm-generic: Refactor dereference_[kernel]_function_descriptor()
dereference_function_descriptor() and
dereference_kernel_function_descriptor() are identical on the
three architectures implementing them.
Make them common and put them out-of-line in kernel/extable.c
which is one of the users and has similar type of functions.
Signed-off-by: Christophe Leroy <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Acked-by: Helge Deller <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/449db09b2eba57f4ab05f80102a67d8675bc8bcd.1644928018.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions