summaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/dump_hashpagetable.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm/dump_hashpagetable.c')
-rw-r--r--arch/powerpc/mm/dump_hashpagetable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/dump_hashpagetable.c b/arch/powerpc/mm/dump_hashpagetable.c
index c6b900f54c07..b1c144b03fcf 100644
--- a/arch/powerpc/mm/dump_hashpagetable.c
+++ b/arch/powerpc/mm/dump_hashpagetable.c
@@ -335,7 +335,7 @@ static unsigned long hpte_find(struct pg_state *st, unsigned long ea, int psize)
unsigned long rpn, lp_bits;
int base_psize = 0, actual_psize = 0;
- if (ea <= PAGE_OFFSET)
+ if (ea < PAGE_OFFSET)
return -1;
/* Look in primary table */