git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
f6ab91a
)
Merge branch 'for-tip' of git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile...
author
Ingo Molnar
<mingo@elte.hu>
Tue, 8 Jun 2010 17:15:37 +0000
(19:15 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Tue, 8 Jun 2010 17:15:37 +0000
(19:15 +0200)
arch/powerpc/oprofile/op_model_cell.c
patch
|
blob
|
history
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];