summaryrefslogtreecommitdiffstats
path: root/include/linux/circ_buf.h
diff options
context:
space:
mode:
authorRafael J. Wysocki2007-07-19 10:47:34 +0200
committerLinus Torvalds2007-07-19 19:04:42 +0200
commite7cd8a722745a01bcfac4d4a52d53391d177da20 (patch)
tree45c7e57cac39a6aa90d1c5f6682ddd12bdc8315a /include/linux/circ_buf.h
parentFreezer: use __set_current_state in refrigerator (diff)
downloadkernel-qcow2-linux-e7cd8a722745a01bcfac4d4a52d53391d177da20.tar.gz
kernel-qcow2-linux-e7cd8a722745a01bcfac4d4a52d53391d177da20.tar.xz
kernel-qcow2-linux-e7cd8a722745a01bcfac4d4a52d53391d177da20.zip
Freezer: return int from freeze_processes
Make try_to_freeze_tasks() and freeze_processes() return -EBUSY on failure instead of the number of unfrozen tasks (none of the callers actually uses this number). Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Pavel Machek <pavel@ucw.cz> Cc: Gautham R Shenoy <ego@in.ibm.com> Cc: Oleg Nesterov <oleg@tv-sign.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/circ_buf.h')
0 files changed, 0 insertions, 0 deletions