Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233218
b: refs/heads/master
c: cb06199
h: refs/heads/master
v: v3
  • Loading branch information
Rabin Vincent authored and Russell King committed Feb 10, 2011
1 parent 28dbea2 commit bbfd3d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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: 4a9cb360197684a861bc06f06d33d5fcc8ffcbf5
refs/heads/master: cb06199b1df492fcfbaedd2256b5054f944b664f
2 changes: 1 addition & 1 deletion trunk/arch/arm/kernel/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ user_backtrace(struct frame_tail __user *tail,
* Frame pointers should strictly progress back up the stack
* (towards higher addresses).
*/
if (tail >= buftail.fp)
if (tail + 1 >= buftail.fp)
return NULL;

return buftail.fp - 1;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/oprofile/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ static struct frame_tail* user_backtrace(struct frame_tail *tail)

/* frame pointers should strictly progress back up the stack
* (towards higher addresses) */
if (tail >= buftail[0].fp)
if (tail + 1 >= buftail[0].fp)
return NULL;

return buftail[0].fp-1;
Expand Down

0 comments on commit bbfd3d6

Please sign in to comment.