summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/stacktrace.h
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2018-04-17 19:11:20 +0300
committerThomas Gleixner <tglx@linutronix.de>2018-04-26 17:15:26 +0300
commite8b6f984516b1fcb0ccf4469ca42777c9c2dc76d (patch)
tree019197135ce911080bc2ac8ef5897855b24ca544 /arch/x86/include/asm/stacktrace.h
parent9e4a90fd34445df64a13d136676a31a4dd22aea3 (diff)
downloadlinux-e8b6f984516b1fcb0ccf4469ca42777c9c2dc76d.tar.xz
x86/dumpstack: Add loglevel argument to show_opcodes()
Will be used in the next patch. Signed-off-by: Borislav Petkov <bp@suse.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Andy Lutomirski <luto@amacapital.net> Link: https://lkml.kernel.org/r/20180417161124.5294-6-bp@alien8.de
Diffstat (limited to 'arch/x86/include/asm/stacktrace.h')
-rw-r--r--arch/x86/include/asm/stacktrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/stacktrace.h b/arch/x86/include/asm/stacktrace.h
index 133d9425fced..0630eeb18bbc 100644
--- a/arch/x86/include/asm/stacktrace.h
+++ b/arch/x86/include/asm/stacktrace.h
@@ -111,4 +111,5 @@ static inline unsigned long caller_frame_pointer(void)
return (unsigned long)frame;
}
+void show_opcodes(u8 *rip, const char *loglvl);
#endif /* _ASM_X86_STACKTRACE_H */