diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-04-17 16:50:36 +0200 |
---|---|---|
committer | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-04-17 16:50:36 +0200 |
commit | 652a12ef98d16ccd1ee5cdf2c832ce5411ed3262 (patch) | |
tree | fb4202396bed56574c68f5b516eeb85846e88c6a /include/asm-arm/system.h | |
parent | [PATCH] ARM: h3600_irda_set_speed arguments (diff) | |
download | linux-652a12ef98d16ccd1ee5cdf2c832ce5411ed3262.tar.xz linux-652a12ef98d16ccd1ee5cdf2c832ce5411ed3262.zip |
[PATCH] ARM: showregs
Fix show_regs() to provide a backtrace. Provide a new __show_regs()
function which implements the common subset of show_regs() and die().
Add prototypes to asm-arm/system.h
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/system.h')
-rw-r--r-- | include/asm-arm/system.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-arm/system.h b/include/asm-arm/system.h index b5731290b4e5..b13a8da4847b 100644 --- a/include/asm-arm/system.h +++ b/include/asm-arm/system.h @@ -99,6 +99,9 @@ void hook_fault_code(int nr, int (*fn)(unsigned long, unsigned int, #define tas(ptr) (xchg((ptr),1)) extern asmlinkage void __backtrace(void); +extern asmlinkage void c_backtrace(unsigned long fp, int pmode); +extern void show_pte(struct mm_struct *mm, unsigned long addr); +extern void __show_regs(struct pt_regs *); extern int cpu_architecture(void); |