]> 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)
commitd5eab31b018e8b79d0ff1d7152d0a639e8933f46
treea1547a8321c4ddca30acf97b4db54997185fb799
parent4e485fe4490a9d26e743cc6f580d9016a8ec79bd
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