mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 01:33:00 -04:00
[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 <[email protected]>
This commit is contained in:
parent
702f22b306
commit
df679771ce
2 changed files with 5 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue