]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
freezer: move frozen_process() to kernel/power/process.c
authorGautham R Shenoy <ego@in.ibm.com>
Wed, 23 May 2007 20:57:29 +0000 (13:57 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 24 May 2007 03:14:11 +0000 (20:14 -0700)
commit88f18ba028b5939bb6f77bd690e5ad8d01bb24cc
treeeea3f79f5098f7b45723f842208b44f860f0fb71
parent5fcc57f2d5d558056668159f9153bf21d2c53d16
freezer: move frozen_process() to kernel/power/process.c

Other than refrigerator, no one else calls frozen_process().  So move it from
include/linux/freezer.h to kernel/power/process.c.

Also, since a task can be marked as frozen by itself, we don't need to pass
the (struct task_struct *p) parameter to frozen_process().

Signed-off-by: Gautham R Shenoy <ego@in.ibm.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/freezer.h
kernel/power/process.c