diff options
author | Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> | 2022-10-20 22:58:59 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-11-24 23:31:49 +1100 |
commit | 266b1991a433cd55bb86a933216b3f6762737d47 (patch) | |
tree | dd84b5da1eb6b1273cfa1d762b06d7e25c55cdd4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 04ec5d5782fb346c291a05a2efe59483d8ada4c4 (diff) |
powerpc/kprobes: Use preempt_enable() rather than the no_resched variant
preempt_enable_no_resched() is just the same as preempt_enable() when we
are in a irqs disabled context. kprobe_handler() and the post/fault
handlers are all called with irqs disabled. As such, convert those to
just use preempt_enable().
Reported-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/72639f75fe66f931ec8c2165276ffbfb0fe1006f.1666262278.git.naveen.n.rao@linux.vnet.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions