signals: annotate lock context change on ptrace_stop()
authorNamhyung Kim <namhyung@gmail.com>
Wed, 27 Oct 2010 22:34:07 +0000 (15:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:03:12 +0000 (18:03 -0700)
commitb84011508360d6885a9d95a235ec77d56f133377
tree471f4aecda99cb5f82b0fa957887c10d5d176960
parentb8ed374e202e23caaf9bd77dcadc9de6447faaa8
signals: annotate lock context change on ptrace_stop()

ptrace_stop() releases and regrabs current->sighand->siglock but was
missing proper annotation.  Add it.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Acked-by: Roland McGrath <roland@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/signal.c