diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2007-06-18 09:59:45 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-06-18 10:04:42 -0400 |
commit | 154c772ebfb12ef66855510e6be2b12c85110b0c (patch) | |
tree | 9ece82abedf5f566572ba50ec7dd5294e5653389 /include | |
parent | d9202429e60d16d39c427cd4e4408cf1827ab9e9 (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')
-rw-r--r-- | include/asm-arm/ptrace.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-arm/ptrace.h b/include/asm-arm/ptrace.h index 2d0dad8c10ac..ee3d93c281d8 100644 --- a/include/asm-arm/ptrace.h +++ b/include/asm-arm/ptrace.h | |||
@@ -112,9 +112,6 @@ struct pt_regs { | |||
112 | #define fast_interrupts_enabled(regs) \ | 112 | #define fast_interrupts_enabled(regs) \ |
113 | (!((regs)->ARM_cpsr & PSR_F_BIT)) | 113 | (!((regs)->ARM_cpsr & PSR_F_BIT)) |
114 | 114 | ||
115 | #define condition_codes(regs) \ | ||
116 | ((regs)->ARM_cpsr & (PSR_V_BIT|PSR_C_BIT|PSR_Z_BIT|PSR_N_BIT)) | ||
117 | |||
118 | /* Are the current registers suitable for user mode? | 115 | /* Are the current registers suitable for user mode? |
119 | * (used to maintain security in signal handlers) | 116 | * (used to maintain security in signal handlers) |
120 | */ | 117 | */ |