Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 74697
b: refs/heads/master
c: df67977
h: refs/heads/master
i:
  74695: 16f75ae
v: v3
  • Loading branch information
Haavard Skinnemoen committed Dec 7, 2007
1 parent 13d6621 commit 23fa261
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 702f22b306c8357b3ef5012b5a8ce062e1d11b4e
refs/heads/master: df679771ce6a6bf57012459fbd15c981deaee526
5 changes: 3 additions & 2 deletions trunk/arch/avr32/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,11 @@ void show_regs_log_lvl(struct pt_regs *regs, const char *log_lvl)
regs->sr & SR_N ? 'N' : 'n',
regs->sr & SR_Z ? 'Z' : 'z',
regs->sr & SR_C ? 'C' : 'c');
printk("%sMode bits: %c%c%c%c%c%c%c%c%c\n", log_lvl,
printk("%sMode bits: %c%c%c%c%c%c%c%c%c%c\n", log_lvl,
regs->sr & SR_H ? 'H' : 'h',
regs->sr & SR_R ? 'R' : 'r',
regs->sr & SR_J ? 'J' : 'j',
regs->sr & SR_DM ? 'M' : 'm',
regs->sr & SR_D ? 'D' : 'd',
regs->sr & SR_EM ? 'E' : 'e',
regs->sr & SR_I3M ? '3' : '.',
regs->sr & SR_I2M ? '2' : '.',
Expand Down
6 changes: 2 additions & 4 deletions trunk/include/asm-avr32/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 23fa261

Please sign in to comment.