]> git.baikalelectronics.ru Git - kernel.git/commit
kernel/profile.c: use static const char instead of static char
authorFabian Frederick <fabf@skynet.be>
Fri, 6 Jun 2014 21:37:30 +0000 (14:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Jun 2014 23:08:13 +0000 (16:08 -0700)
commit71c263f309fb0eeba583736c0a27477177eb3ef4
treea1547a8321c4ddca30acf97b4db54997185fb799
parentbc3d06fb4bc2ebb424125fcb3d23d2fb18a27ad4
kernel/profile.c: use static const char instead of static char

schedstr, sleepstr and kvmstr are only used in strcmp & strlen

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/profile.c