Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205371
b: refs/heads/master
c: b12eab1
h: refs/heads/master
i:
  205369: f9732ec
  205367: 3464d8e
v: v3
  • Loading branch information
Denis Kirjanov authored and Robert Richter committed Jun 4, 2010
1 parent f16f586 commit e011adf
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: d8a382d2662822248a97ce9d670b90e68aefbd3a
refs/heads/master: b12eab1a796a306caef7046b21a76efa35f5f489
2 changes: 1 addition & 1 deletion trunk/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 e011adf

Please sign in to comment.