[PATCH 3/4] powerpc/64s: Allow double call of kernel_[un]map_linear_page()

2022-09-18 Thread Nicholas Miehlbradt
From: Christophe Leroy If the page is already mapped resp. already unmapped, bail out. Signed-off-by: Christophe Leroy Signed-off-by: Nicholas Miehlbradt --- arch/powerpc/mm/book3s64/hash_utils.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/mm/book3s

[PATCH 3/4] powerpc/64s: Allow double call of kernel_[un]map_linear_page()

2021-05-16 Thread Jordan Niethe
From: Christophe Leroy If the page is already mapped resp. already unmapped, bail out. Signed-off-by: Christophe Leroy Signed-off-by: Jordan Niethe --- arch/powerpc/mm/book3s64/hash_utils.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/mm/book3s64/has