summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-02-10 09:44:15 (GMT)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 18:51:22 (GMT)
commit0d0d0ed426f8f5ba6b74ba30fcdcd27c54ce4724 (patch)
treeecc96739305056c8e7fe3a8411970a2a078ab005
parent27aa6ef3c0e8220b27b0a8d2d0bae7cd0a6d2f78 (diff)
downloadlinux-0d0d0ed426f8f5ba6b74ba30fcdcd27c54ce4724.tar.xz
[PATCH] uml: const a variable
kstack_depth_to_print can be made const. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--arch/um/kernel/sysrq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/sysrq.c b/arch/um/kernel/sysrq.c
index 239c980..f9e02b3 100644
--- a/arch/um/kernel/sysrq.c
+++ b/arch/um/kernel/sysrq.c
@@ -50,7 +50,7 @@ void dump_stack(void)
EXPORT_SYMBOL(dump_stack);
/*Stolen from arch/i386/kernel/traps.c */
-static int kstack_depth_to_print = 24;
+static const int kstack_depth_to_print = 24;
/* This recently started being used in arch-independent code too, as in
* kernel/sched.c.*/