diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-10-30 12:49:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-18 18:25:00 +0100 |
commit | 57f9654bde66ce31b61aab3cae5a7e3ab33ac880 (patch) | |
tree | c9020da1e2ed8dbb1b3486b127046a72e8066ec4 /Documentation/extcon | |
parent | 3c9d5cf886fae11c0ae3c033f873c18029fe324b (diff) |
perf: Fix get_recursion_context()
[ Upstream commit ce0f17fc93f63ee91428af10b7b2ddef38cd19e5 ]
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
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'Documentation/extcon')
0 files changed, 0 insertions, 0 deletions