selftests/powerpc: Make using_hash_mmu() work on Cell & PowerMac
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Aug 2020 01:57:19 +0000 (11:57 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 8 Sep 2020 12:23:51 +0000 (22:23 +1000)
commit34c103342be3f9397e656da7c5cc86e97b91f514
tree55ac6a565d2afc4672eb4829d7b765eb058f736b
parentb5a646a681f5d67ea5190a71d6e84a91efe63b7a
selftests/powerpc: Make using_hash_mmu() work on Cell & PowerMac

These platforms don't show the MMU in /proc/cpuinfo, but they always
use hash, so teach using_hash_mmu() that.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200819015727.1977134-1-mpe@ellerman.id.au
tools/testing/selftests/powerpc/utils.c