sched: might_sleep(): Make file parameter const char *
authorSimon Kagstrom <simon.kagstrom@netinsight.net>
Wed, 23 Dec 2009 10:08:18 +0000 (11:08 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 28 Dec 2009 09:50:13 +0000 (10:50 +0100)
commitd894837f23f491aa7ed167aae767fc07cfe6e6e6
tree33ee2a3526d3ed9889d385233c9f2feb4bdbc835
parent6b7b284958d47b77d06745b36bc7f36dab769d9b
sched: might_sleep(): Make file parameter const char *

Fixes a warning when building with g++:

 warning: deprecated conversion from string constant to 'char*'

And the file parameter use is constant, so mark it as such.

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
Cc: peterz@infradead.org
LKML-Reference: <20091223110818.442d848e@marrow.netinsight.se>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/kernel.h
kernel/sched.c