diff options
author | Josh Triplett <josh@kernel.org> | 2007-07-26 07:40:43 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2007-07-26 07:40:43 -0400 |
commit | f33734619371ae40f34bbce001938408e6634f05 (patch) | |
tree | ce6241ea397d20ff428cc239aade833f87df86ac /kernel | |
parent | 2cd4d0ea19713304963dbb2de5073700bfe253f5 (diff) |
[PATCH] sched: mark sysrq_sched_debug_show() static
Only sched.c uses sysrq_sched_debug_show, and sched.c includes sched_debug.c,
so all uses of sysrq_sched_debug_show occur in the same source file.
Eliminates a sparse warning:
warning: symbol 'sysrq_sched_debug_show' was not declared. Should it be static?
Signed-off-by: Josh Triplett <josh@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched_debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched_debug.c b/kernel/sched_debug.c index 29f2c21e7da2..42970f723a97 100644 --- a/kernel/sched_debug.c +++ b/kernel/sched_debug.c | |||
@@ -186,7 +186,7 @@ static int sched_debug_show(struct seq_file *m, void *v) | |||
186 | return 0; | 186 | return 0; |
187 | } | 187 | } |
188 | 188 | ||
189 | void sysrq_sched_debug_show(void) | 189 | static void sysrq_sched_debug_show(void) |
190 | { | 190 | { |
191 | sched_debug_show(NULL, NULL); | 191 | sched_debug_show(NULL, NULL); |
192 | } | 192 | } |