diff options
Diffstat (limited to 'kernel/stacktrace.c')
-rw-r--r-- | kernel/stacktrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/stacktrace.c b/kernel/stacktrace.c index f5440abb7532..6d1f68b7e528 100644 --- a/kernel/stacktrace.c +++ b/kernel/stacktrace.c | |||
@@ -20,7 +20,7 @@ | |||
20 | * @nr_entries: Number of entries in the storage array | 20 | * @nr_entries: Number of entries in the storage array |
21 | * @spaces: Number of leading spaces to print | 21 | * @spaces: Number of leading spaces to print |
22 | */ | 22 | */ |
23 | void stack_trace_print(unsigned long *entries, unsigned int nr_entries, | 23 | void stack_trace_print(const unsigned long *entries, unsigned int nr_entries, |
24 | int spaces) | 24 | int spaces) |
25 | { | 25 | { |
26 | unsigned int i; | 26 | unsigned int i; |
@@ -43,7 +43,7 @@ EXPORT_SYMBOL_GPL(stack_trace_print); | |||
43 | * | 43 | * |
44 | * Return: Number of bytes printed. | 44 | * Return: Number of bytes printed. |
45 | */ | 45 | */ |
46 | int stack_trace_snprint(char *buf, size_t size, unsigned long *entries, | 46 | int stack_trace_snprint(char *buf, size_t size, const unsigned long *entries, |
47 | unsigned int nr_entries, int spaces) | 47 | unsigned int nr_entries, int spaces) |
48 | { | 48 | { |
49 | unsigned int generated, i, total = 0; | 49 | unsigned int generated, i, total = 0; |