diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-10-30 12:49:45 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2020-11-09 18:12:34 +0100 |
commit | ce0f17fc93f63ee91428af10b7b2ddef38cd19e5 (patch) | |
tree | 81c9de4cdf751c18b7c0eb9c7229116f49811cbf /kernel/power | |
parent | 9dfa9a5c9bae3417b87824e7ac73b00c10b6a874 (diff) |
perf: Fix get_recursion_context()
One should use in_serving_softirq() to detect SoftIRQ context.
Fixes: 96f6d4444302 ("perf_counter: avoid recursion")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20201030151955.120572175@infradead.org
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions