powerpc/book3s64: Avoid __pte_protnone() check in __pte_flags_need_flush()
authorAneesh Kumar K.V (IBM) <aneesh.kumar@kernel.org>
Mon, 4 Dec 2023 09:36:38 +0000 (15:06 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 7 Dec 2023 12:34:11 +0000 (23:34 +1100)
commita59c14f6b4caad7671dfb81737beba0b313897e4
tree7ec08dd04fe093dfa76046003ca551acf727c0fa
parent773b93f1d1c38c5c0d5308b8c9229c7a6ec5b2a0
powerpc/book3s64: Avoid __pte_protnone() check in __pte_flags_need_flush()

This reverts commit 1abce0580b89 ("powerpc/64s: Fix __pte_needs_flush()
false positive warning")

The previous patch dropped the usage of _PAGE_PRIVILEGED with PAGE_NONE.
Hence this check can be dropped.

Signed-off-by: "Aneesh Kumar K.V (IBM)" <aneesh.kumar@kernel.org>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231204093638.71503-2-aneesh.kumar@kernel.org
arch/powerpc/include/asm/book3s/64/tlbflush.h