aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86/kdebug.h
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2008-01-30 13:30:17 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:30:17 +0100
commit718fc13b4675470ea191522ef98b02a55d990fa1 (patch)
tree26e35cede12cc8f25939582cd314b75360b08c49 /include/asm-x86/kdebug.h
parentc9ff03428f24219b927d9d9d3c0c581622967794 (diff)
x86: move debug related declarations to kdebug.h
Move them and fixup some users. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/kdebug.h')
-rw-r--r--include/asm-x86/kdebug.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-x86/kdebug.h b/include/asm-x86/kdebug.h
index e2f9b62e535..49e5c91d490 100644
--- a/include/asm-x86/kdebug.h
+++ b/include/asm-x86/kdebug.h
@@ -22,10 +22,15 @@ enum die_val {
DIE_PAGE_FAULT,
};
+extern void early_printk(const char *fmt, ...) __attribute__((format(printf,1,2)));
extern void printk_address(unsigned long address);
extern void die(const char *,struct pt_regs *,long);
extern void __die(const char *,struct pt_regs *,long);
extern void show_registers(struct pt_regs *regs);
+extern void __show_registers(struct pt_regs *, int all);
+extern void show_trace(struct task_struct *, struct pt_regs *, unsigned long *);
+extern void __show_regs(struct pt_regs *regs);
+extern void show_regs(struct pt_regs *regs);
extern void dump_pagetable(unsigned long);
extern unsigned long oops_begin(void);
extern void oops_end(unsigned long);