[PATCH] uml: const a variable
authorJeff Dike <[email protected]>
Sat, 10 Feb 2007 09:44:15 +0000 (01:44 -0800)
committerLinus Torvalds <[email protected]>
Sun, 11 Feb 2007 18:51:22 +0000 (10:51 -0800)
kstack_depth_to_print can be made const.

Signed-off-by: Jeff Dike <[email protected]>
Cc: Paolo 'Blaisorblade' Giarrusso <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/um/kernel/sysrq.c

index 239c98054dec4292f3444783240bf28958f7a850..f9e02b31a97af3dde7bb23437013d6e628b85761 100644 (file)
@@ -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.*/