diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-04-17 10:50:36 -0400 |
---|---|---|
committer | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-04-17 10:50:36 -0400 |
commit | 652a12ef98d16ccd1ee5cdf2c832ce5411ed3262 (patch) | |
tree | fb4202396bed56574c68f5b516eeb85846e88c6a /include/asm-arm/ptrace.h | |
parent | 58c02ec4701c94c671a41e1e5d50c582e859851f (diff) |
[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/ptrace.h')
-rw-r--r-- | include/asm-arm/ptrace.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/asm-arm/ptrace.h b/include/asm-arm/ptrace.h index 604e3a186cf9..4377e22b7e1a 100644 --- a/include/asm-arm/ptrace.h +++ b/include/asm-arm/ptrace.h | |||
@@ -142,11 +142,8 @@ extern unsigned long profile_pc(struct pt_regs *regs); | |||
142 | #endif | 142 | #endif |
143 | 143 | ||
144 | #ifdef __KERNEL__ | 144 | #ifdef __KERNEL__ |
145 | extern void show_regs(struct pt_regs *); | 145 | #define predicate(x) ((x) & 0xf0000000) |
146 | |||
147 | #define predicate(x) (x & 0xf0000000) | ||
148 | #define PREDICATE_ALWAYS 0xe0000000 | 146 | #define PREDICATE_ALWAYS 0xe0000000 |
149 | |||
150 | #endif | 147 | #endif |
151 | 148 | ||
152 | #endif /* __ASSEMBLY__ */ | 149 | #endif /* __ASSEMBLY__ */ |