Skip to content

Commit

Permalink
Merge branch 'for-tip' of git://git.kernel.org/pub/scm/linux/kernel/g…
Browse files Browse the repository at this point in the history
…it/rric/oprofile into perf/urgent
  • Loading branch information
Ingo Molnar committed Jun 8, 2010
2 parents f6ab91a + 238c1a7 commit 84bb671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/oprofile/op_model_cell.c
Original file line number Diff line number Diff line change
Expand Up @@ -1077,7 +1077,7 @@ static int calculate_lfsr(int n)
index = ENTRIES-1;

/* make sure index is valid */
if ((index > ENTRIES) || (index < 0))
if ((index >= ENTRIES) || (index < 0))
index = ENTRIES-1;

return initial_lfsr[index];
Expand Down

0 comments on commit 84bb671

Please sign in to comment.