Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218550
b: refs/heads/master
c: cfd866f
h: refs/heads/master
v: v3
  • Loading branch information
Namhyung Kim authored and Linus Torvalds committed Oct 28, 2010
1 parent 9c2fa94 commit 3b1cfad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: bf60ef96072ebbf768bae1f9ab421ceef5b80676
refs/heads/master: cfd866f6bd1549fb25f826c469120a8eaee4fc1a
2 changes: 1 addition & 1 deletion trunk/arch/microblaze/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ long arch_ptrace(struct task_struct *child, long request,
} else {
rval = -EIO;
}
} else if (addr >= 0 && addr < PT_SIZE && (addr & 0x3) == 0) {
} else if (addr < PT_SIZE && (addr & 0x3) == 0) {
microblaze_reg_t *reg_addr = reg_save_addr(addr, child);
if (request == PTRACE_PEEKUSR)
val = *reg_addr;
Expand Down

0 comments on commit 3b1cfad

Please sign in to comment.