]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sched: Add "const" to is_idle_task() parameter
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 20 Dec 2011 16:20:46 +0000 (08:20 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 20 Dec 2011 16:20:46 +0000 (08:20 -0800)
commit2d5a09cd1ff5aa5b6a017e14dcf36c634e52e235
tree5aa8b5b560d885701e603068ad0714be212a4d8d
parentdb50e010d3f8967b2c8a585b139d4aa6d0c831a8
sched: Add "const" to is_idle_task() parameter

This patch fixes a build warning in -next due to a const pointer being
passed to is_idle_task().  Because is_idle_task() does not modify anything,
this commit adds the "const" to is_idle_task()'s argument declaration.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/sched.h