]> git.baikalelectronics.ru Git - kernel.git/commit
De-constify sched.h
authorAlexey Dobriyan <adobriyan@sw.ru>
Fri, 26 Oct 2007 08:17:22 +0000 (12:17 +0400)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 26 Oct 2007 15:42:24 +0000 (08:42 -0700)
commite8c8600db80517b9d70866565d2ef9fa4518aabc
treef6619ae1407802e8e123f28854e310bd90784865
parent645682af094aec4acbd97bf40aae6c9b5bf9068f
De-constify sched.h

[PATCH] De-constify sched.h

This reverts commit d55a8beb150e3f2cd7a33a2916df9a3d5a9858ca ("sched:
constify sched.h")

 1) Patch doesn't change any code here, so gcc is already smart enough
    to "feel" constness in such simple functions.
 2) There is no such thing as const task_struct.  Anyone who think
    otherwise deserves compiler warning.

Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/sched.h