aboutsummaryrefslogtreecommitdiff
path: root/include/asm-arm/ptrace.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2007-06-18 14:59:45 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-06-18 15:04:42 +0100
commit154c772ebfb12ef66855510e6be2b12c85110b0c (patch)
tree9ece82abedf5f566572ba50ec7dd5294e5653389 /include/asm-arm/ptrace.h
parentd9202429e60d16d39c427cd4e4408cf1827ab9e9 (diff)
[ARM] Update show_regs/oops register format
Add the kernel release and version information to the output of show_regs/oops. Add the CPU PSR register. Avoid using printk to output partial lines; always output a complete line. Re-combine the "Control" and "Table + DAC" lines after nommu separated them; we don't want to waste vertical screen space needlessly. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/ptrace.h')
-rw-r--r--include/asm-arm/ptrace.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-arm/ptrace.h b/include/asm-arm/ptrace.h
index 2d0dad8c10a..ee3d93c281d 100644
--- a/include/asm-arm/ptrace.h
+++ b/include/asm-arm/ptrace.h
@@ -112,9 +112,6 @@ struct pt_regs {
#define fast_interrupts_enabled(regs) \
(!((regs)->ARM_cpsr & PSR_F_BIT))
-#define condition_codes(regs) \
- ((regs)->ARM_cpsr & (PSR_V_BIT|PSR_C_BIT|PSR_Z_BIT|PSR_N_BIT))
-
/* Are the current registers suitable for user mode?
* (used to maintain security in signal handlers)
*/