powerpc/book3s/32: fix number of bats in p/v_block_mapped()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 16 Nov 2018 17:27:42 +0000 (17:27 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Dec 2018 07:56:32 +0000 (18:56 +1100)
commite93ba1b7eb5b188c749052df7af1c90821c5f320
tree8b33ea54d5cd7241c2a223984008869af8884ea1
parent712877f8740471d96f703647d813d8a74fccc816
powerpc/book3s/32: fix number of bats in p/v_block_mapped()

This patch fixes the loop in p_block_mapped() and v_block_mapped()
to scan the entire bat_addrs[] array.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/ppc_mmu_32.c