diff options
author | Christoph Hellwig <[email protected]> | 2021-02-02 13:13:26 +0100 |
---|---|---|
committer | Jessica Yu <[email protected]> | 2021-02-08 12:22:08 +0100 |
commit | 013c1667cf78c1d847152f7116436d82dcab3db4 (patch) | |
tree | 14ff7b6f382399544e4dbc530dfadf9b6748e3c6 /drivers/usb/cdns3/cdns3-trace.c | |
parent | a006050575745ca2be25118b90f1c37f454ac542 (diff) |
kallsyms: refactor {,module_}kallsyms_on_each_symbol
Require an explicit call to module_kallsyms_on_each_symbol to look
for symbols in modules instead of the call from kallsyms_on_each_symbol,
and acquire module_mutex inside of module_kallsyms_on_each_symbol instead
of leaving that up to the caller. Note that this slightly changes the
behavior for the livepatch code in that the symbols from vmlinux are not
iterated anymore if objname is set, but that actually is the desired
behavior in this case.
Reviewed-by: Petr Mladek <[email protected]>
Acked-by: Miroslav Benes <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jessica Yu <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions