]> err.no Git - linux-2.6/commit
[PATCH] Reinstate const in next_thread()
authorKeith Owens <kaos@sgi.com>
Tue, 11 Apr 2006 05:54:07 +0000 (22:54 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:18:41 +0000 (06:18 -0700)
commita9cdf410ca8f59b52bc7061a6751050010c7cc5b
treea7b63f15f2221e424b37989af1083701d1549adf
parent49b6e2ad00435209503863932d03470f825e0a1a
[PATCH] Reinstate const in next_thread()

Before commit 47e65328a7b1cdfc4e3102e50d60faf94ebba7d3, next_thread() took
a const task_t.  Reinstate the const qualifier, getting the next thread
never changes the current thread.

Signed-off-by: Keith Owens <kaos@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/sched.h