projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc/ptdump: Fix build failure in hashpagetable.c
[linux-2.6-block.git]
/
arch
/
powerpc
/
mm
/
ptdump
/
hashpagetable.c
diff --git
a/arch/powerpc/mm/ptdump/hashpagetable.c
b/arch/powerpc/mm/ptdump/hashpagetable.c
index a2c33efc7ce8d93268cc0cfb642c5ce639baee05..5b8bd34cd3a16bae8bbb0f500f48ff596b38824c 100644
(file)
--- a/
arch/powerpc/mm/ptdump/hashpagetable.c
+++ b/
arch/powerpc/mm/ptdump/hashpagetable.c
@@
-258,7
+258,7
@@
static int pseries_find(unsigned long ea, int psize, bool primary, u64 *v, u64 *
for (i = 0; i < HPTES_PER_GROUP; i += 4, hpte_group += 4) {
lpar_rc = plpar_pte_read_4(0, hpte_group, (void *)ptes);
- if (lpar_rc
!= H_SUCCESS
)
+ if (lpar_rc)
continue;
for (j = 0; j < 4; j++) {
if (HPTE_V_COMPARE(ptes[j].v, want_v) &&