Skip to content

Commit

Permalink
[PATCH] uml: const a variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Feb 11, 2007
1 parent 27aa6ef commit 0d0d0ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/um/kernel/sysrq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.*/
Expand Down

0 comments on commit 0d0d0ed

Please sign in to comment.