Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233968
b: refs/heads/master
c: ba55d3d
h: refs/heads/master
v: v3
  • Loading branch information
Will Deacon authored and Russell King committed Feb 26, 2011
1 parent 255e673 commit 813a81c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 8f3112707fabc2f9f932a4ac1c5b92f3266e4662
refs/heads/master: ba55d3db9bb59a52fe45dbc5d62776adbb289e54
6 changes: 3 additions & 3 deletions trunk/arch/arm/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -996,10 +996,10 @@ static int ptrace_gethbpregs(struct task_struct *tsk, long num,
while (!(arch_ctrl.len & 0x1))
arch_ctrl.len >>= 1;

if (idx & 0x1)
reg = encode_ctrl_reg(arch_ctrl);
else
if (num & 0x1)
reg = bp->attr.bp_addr;
else
reg = encode_ctrl_reg(arch_ctrl);
}

put:
Expand Down

0 comments on commit 813a81c

Please sign in to comment.