summaryrefslogtreecommitdiffstats
path: root/include/asm-avr32/ptrace.h
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-11-27 18:59:32 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-12-07 14:52:33 +0100
commitdf679771ce6a6bf57012459fbd15c981deaee526 (patch)
tree84abd309e78e3b6e8f6a20b759f7c50cd66a660c /include/asm-avr32/ptrace.h
parent702f22b306c8357b3ef5012b5a8ce062e1d11b4e (diff)
downloadblackbird-op-linux-df679771ce6a6bf57012459fbd15c981deaee526.tar.gz
blackbird-op-linux-df679771ce6a6bf57012459fbd15c981deaee526.zip
[AVR32] Fix invalid status register bit definitions in asm/ptrace.h
The 'H' bit is bit 29, while the 'R' bit doesn't exist. Luckily, we don't actually use any of the bits in question. Also update show_regs() to show the Debug Mask and Debug state bits. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'include/asm-avr32/ptrace.h')
-rw-r--r--include/asm-avr32/ptrace.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/asm-avr32/ptrace.h b/include/asm-avr32/ptrace.h
index 60f0f19a81f1..8c5dba5e33df 100644
--- a/include/asm-avr32/ptrace.h
+++ b/include/asm-avr32/ptrace.h
@@ -14,8 +14,7 @@
/*
* Status Register bits
*/
-#define SR_H 0x40000000
-#define SR_R 0x20000000
+#define SR_H 0x20000000
#define SR_J 0x10000000
#define SR_DM 0x08000000
#define SR_D 0x04000000
@@ -35,8 +34,7 @@
#define SR_I0M 0x00020000
#define SR_GM 0x00010000
-#define SR_H_BIT 30
-#define SR_R_BIT 29
+#define SR_H_BIT 29
#define SR_J_BIT 28
#define SR_DM_BIT 27
#define SR_D_BIT 26
OpenPOWER on IntegriCloud