diff options
| author | Oleg Nesterov <[email protected]> | 2014-06-06 14:36:53 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-06-06 16:08:11 -0700 |
| commit | 0341729b4b832e753c5e745c6ba0e797f6198be0 (patch) | |
| tree | 75e1a7743a1fbf38e27ec1c8e8ece1261fa71dd1 /tools/perf/scripts/python | |
| parent | afe2b0386ac22b6a189a2067b25282cade3fbb4d (diff) | |
signals: mv {dis,}allow_signal() from sched.h/exit.c to signal.[ch]
Move the declaration/definition of allow_signal/disallow_signal to
signal.h/signal.c. The new place is more logical and allows to use the
static helpers in signal.c (see the next changes).
While at it, make them return void and remove the valid_signal() check.
Nobody checks the returned value, and in-kernel users must not pass the
wrong signal number.
Signed-off-by: Oleg Nesterov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Al Viro <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Mathieu Desnoyers <[email protected]>
Cc: Richard Weinberger <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions