]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commite868171a94b637158a3930c9adfb448d0df163cd
treef6619ae1407802e8e123f28854e310bd90784865
parentade8c56cbd02020fecbe1684f181250a466685eb
De-constify sched.h

[PATCH] De-constify sched.h

This reverts commit a8972ccf00b7184a743eb6cd9bc7f3443357910c ("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