]> git.baikalelectronics.ru Git - kernel.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>
Mon, 16 Jan 2012 17:44:00 +0000 (09:44 -0800)
commit20fa2290c0a05cc0dd18e1e6b65283ebc3bdbb23
treebdc970631a678cefa0902b42575c3e28b2594527
parent46525ebef418aed01773760d4313e18ea288a2ed
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