summaryrefslogtreecommitdiff
path: root/include/asm-x86/stacktrace.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2007-10-17 20:04:37 +0400
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>2007-10-17 22:16:11 +0400
commit9689ba8ad0dc27c0a2ce40eb4c0f8fb66551119c (patch)
tree3b59df3743d1ee2932201d41cbc0f96d7ade159b /include/asm-x86/stacktrace.h
parentff7f36497e77a8d60f09065fc8b606a543214c3f (diff)
downloadlinux-9689ba8ad0dc27c0a2ce40eb4c0f8fb66551119c.tar.xz
x86: constify stacktrace_ops
.. as they're never written to. [ tglx: arch/x86 adaptation ] Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/stacktrace.h')
-rw-r--r--include/asm-x86/stacktrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/stacktrace.h b/include/asm-x86/stacktrace.h
index 6f0b54594307..70dd5bae3235 100644
--- a/include/asm-x86/stacktrace.h
+++ b/include/asm-x86/stacktrace.h
@@ -15,6 +15,6 @@ struct stacktrace_ops {
};
void dump_trace(struct task_struct *tsk, struct pt_regs *regs, unsigned long *stack,
- struct stacktrace_ops *ops, void *data);
+ const struct stacktrace_ops *ops, void *data);
#endif