On 10/17/2017 05:24 PM, Nicholas Piggin wrote:
On Mon, 16 Oct 2017 12:41:00 +0530
"Aneesh Kumar K.V" wrote:
@@ -175,10 +175,9 @@ void radix__local_flush_tlb_page(struct vm_area_struct
*vma, unsigned long vmadd
#ifdef CONFIG_HUGETLB_PAGE
/* need the return fix for nohash.c */
On Mon, 16 Oct 2017 12:41:00 +0530
"Aneesh Kumar K.V" wrote:
> @@ -175,10 +175,9 @@ void radix__local_flush_tlb_page(struct vm_area_struct
> *vma, unsigned long vmadd
> #ifdef CONFIG_HUGETLB_PAGE
> /* need the return fix for nohash.c */
> if (vma && is_vm_hugetlb_page(vma))
> -
From: Michael Ellerman
We call these functions with non-NULL mm or vma. Hence we can skip the NULL
check in these functions. We also remove now unused function
__local_flush_hugetlb_page().
Signed-off-by: Aneesh Kumar K.V
---
arch/powerpc/include/asm/hugetlb.h | 6 --
arch/powerpc/mm/tlb-