]> git.karo-electronics.de Git - karo-tx-linux.git/commit
freezer: remove should_send_signal() and update frozen()
authorTejun Heo <tj@kernel.org>
Thu, 3 Nov 2011 22:19:28 +0000 (15:19 -0700)
committerTejun Heo <tj@kernel.org>
Thu, 3 Nov 2011 22:19:28 +0000 (15:19 -0700)
commit3b9b33e3a2997643efd6b3fc4e4ba7e80774d6dd
tree601f3a8a1749f9cb1b6b12db442088e030ea9206
parent48487ba5225d3679286ff8e712c3afb7110d33a9
freezer: remove should_send_signal() and update frozen()

should_send_signal() is only used in freezer.c.  Exporting them only
increases chance of abuse.  Open code the two users and remove it.

Update frozen() to return bool.

Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/freezer.h
kernel/freezer.c