]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mm: Fix verification of MMU_FTR_TYPE_44x
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sat, 10 Oct 2020 17:30:59 +0000 (17:30 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Dec 2020 14:01:32 +0000 (01:01 +1100)
commit52ba67131a8d78c7c48bd780a5f40913cf5edc4f
treeaf758c741eb6d632f5da7747b52c0ce6879ef88e
parent8bd20864b297137b6c95f6cae5ab00e0bf2c7f0c
powerpc/mm: Fix verification of MMU_FTR_TYPE_44x

MMU_FTR_TYPE_44x cannot be checked by cpu_has_feature()

Use mmu_has_feature() instead

Fixes: 076b4aea67f6 ("powerpc: Convert flush_icache_range & friends to C")
Cc: stable@vger.kernel.org
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/ceede82fadf37f3b8275e61fcf8cf29a3e2ec7fe.1602351011.git.christophe.leroy@csgroup.eu
arch/powerpc/mm/mem.c