]> git.hungrycats.org Git - linux/commit
[PATCH] make console_conditional_schedule() __sched and use cond_resched()
authorWilliam Lee Irwin III <wli@holomorphy.com>
Tue, 19 Oct 2004 01:11:56 +0000 (18:11 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 19 Oct 2004 01:11:56 +0000 (18:11 -0700)
commit4492bf66237c6352d713c3722b0e83a4d258906e
tree7ba66c2c6d6ab91f9716845afa60e811f6b8b6a7
parentbe3ba4f4963be93e41824a4cd0e4424e9cb8eb9d
[PATCH] make console_conditional_schedule() __sched and use cond_resched()

Relatively minor add-on (not necessarily tied to it or required to be taken
or a fix for any bug).  Since cond_resched() is using PREEMPT_ACTIVE now,
it may be useful to update the open-coded instance of cond_resched() to use
the generic call.  Also, it should probably be __sched so the caller shows
up in wchan.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/printk.c