git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[safe/jmp/linux-2.6]
/
arch
/
powerpc
/
oprofile
/
op_model_cell.c
diff --git
a/arch/powerpc/oprofile/op_model_cell.c
b/arch/powerpc/oprofile/op_model_cell.c
index
2c9e522
..
7fd90d0
100644
(file)
--- a/
arch/powerpc/oprofile/op_model_cell.c
+++ b/
arch/powerpc/oprofile/op_model_cell.c
@@
-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];