summaryrefslogtreecommitdiff
path: root/kernel/trace/bpf_trace.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2019-12-08 14:37:10 +0100
committerIngo Molnar <mingo@kernel.org>2019-12-08 14:37:10 +0100
commit4f797f56c3786e2c6bc542b3f80e9a599b073976 (patch)
tree12f311ac2a06329d58d43437243a9b777c7822f4 /kernel/trace/bpf_trace.c
parentc5105d764e0214bcc4c6d40d7ba231d01b2e9dda (diff)
parent63de37476ebd1e9bab6a9e17186dc5aa1da9ea99 (diff)
Merge branch 'linus' into sched/urgent, to pick up the latest before merging new patches
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/trace/bpf_trace.c')
-rw-r--r--kernel/trace/bpf_trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/bpf_trace.c b/kernel/trace/bpf_trace.c
index ffc91d4935ac..e5ef4ae9edb5 100644
--- a/kernel/trace/bpf_trace.c
+++ b/kernel/trace/bpf_trace.c
@@ -739,7 +739,7 @@ BPF_CALL_1(bpf_send_signal, u32, sig)
return -EINVAL;
work = this_cpu_ptr(&send_signal_work);
- if (work->irq_work.flags & IRQ_WORK_BUSY)
+ if (atomic_read(&work->irq_work.flags) & IRQ_WORK_BUSY)
return -EBUSY;
/* Add the current task, which is the target of sending signal,