diff options
author | Nicholas Piggin <[email protected]> | 2023-01-12 20:54:26 +1000 |
---|---|---|
committer | Luis Chamberlain <[email protected]> | 2023-01-13 15:09:08 -0800 |
commit | da35048f2600633a7f9ba5fa7d6e3b1d0195938b (patch) | |
tree | 5fe3f95f279a3f842fba99852a25e3f71d7f7ccd /include/linux/overflow.h | |
parent | 88603b6dc419445847923fcb7fe5080067a30f98 (diff) |
kallsyms: Fix scheduling with interrupts disabled in self-test
kallsyms_on_each* may schedule so must not be called with interrupts
disabled. The iteration function could disable interrupts, but this
also changes lookup_symbol() to match the change to the other timing
code.
Reported-by: Erhard F. <[email protected]>
Link: https://lore.kernel.org/all/[email protected]%2F/
Reported-by: kernel test robot <[email protected]>
Link: https://lore.kernel.org/oe-lkp/[email protected]
Fixes: 30f3bb09778d ("kallsyms: Add self-test facility")
Tested-by: "Erhard F." <[email protected]>
Signed-off-by: Nicholas Piggin <[email protected]>
Signed-off-by: Luis Chamberlain <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions