summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2007-02-10 10:44:15 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 19:51:22 +0100
commit0d0d0ed426f8f5ba6b74ba30fcdcd27c54ce4724 (patch)
treeecc96739305056c8e7fe3a8411970a2a078ab005 /arch
parent[PATCH] uml: make signal handlers static (diff)
downloadlinux-0d0d0ed426f8f5ba6b74ba30fcdcd27c54ce4724.tar.xz
linux-0d0d0ed426f8f5ba6b74ba30fcdcd27c54ce4724.zip
[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>
Diffstat (limited to 'arch')
-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 239c98054dec..f9e02b31a97a 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.*/