]> git.baikalelectronics.ru Git - kernel.git/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)
commitd78cb3ccb35b8e776fd210e86947aae985b62134
treea7b63f15f2221e424b37989af1083701d1549adf
parent8715589ba55e8fae137114bd400051e2e93801a2
[PATCH] Reinstate const in next_thread()

Before commit e6ba58ca7b90bcd7c6b837b8436173605fcac584, 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