diff options
author | Peter Zijlstra | 2020-08-18 15:57:39 +0200 |
---|---|---|
committer | Ingo Molnar | 2020-09-01 09:58:04 +0200 |
commit | 0db6e3734b130207026df1e78455fa98ca1d6f50 (patch) | |
tree | c00e5bd613f2825d75dee5199b40aae30c4b0e73 /arch/Kconfig | |
parent | 59cc8e0a906ea23190922e5e0252e5b5a60d70c2 (diff) |
jump_label,module: Fix module lifetime for __jump_label_mod_text_reserved()
Nothing ensures the module exists while we're iterating
mod->jump_entries in __jump_label_mod_text_reserved(), take a module
reference to ensure the module sticks around.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Link: https://lore.kernel.org/r/20200818135804.504501338@infradead.org
Diffstat (limited to 'arch/Kconfig')
0 files changed, 0 insertions, 0 deletions