]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ptrace: task_clear_jobctl_trapping()->wake_up_bit() needs mb()
authorOleg Nesterov <oleg@redhat.com>
Thu, 22 May 2014 00:44:01 +0000 (10:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:44:01 +0000 (10:44 +1000)
commit6641e4af00c6be07b44b4cc6523900d5a54401ee
tree345f412308a13653c7df00cbc9ab89403312ca4f
parent0af43546945094535418167636e1322f28d572f6
ptrace: task_clear_jobctl_trapping()->wake_up_bit() needs mb()

__wake_up_bit() checks waitqueue_active() and thus the caller needs mb()
as wake_up_bit() documents, fix task_clear_jobctl_trapping().

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/signal.c