aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/pgtable.h
diff options
context:
space:
mode:
authorGravatar Kemeng Shi <shikemeng@huaweicloud.com> 2023-07-14 01:26:34 +0800
committerGravatar Andrew Morton <akpm@linux-foundation.org> 2023-08-18 10:12:29 -0700
commit1066293d426d3000793c3c3b4276ef38b63ada4a (patch)
tree55f5b7d16d994991b22fb25b3659ecd06d14561d /arch/x86/include/asm/pgtable.h
parentmm/page_table_check: remove unused parameter in [__]page_table_check_pud_clear (diff)
downloadlinux-1066293d426d3000793c3c3b4276ef38b63ada4a.tar.gz
linux-1066293d426d3000793c3c3b4276ef38b63ada4a.tar.bz2
linux-1066293d426d3000793c3c3b4276ef38b63ada4a.zip
mm/page_table_check: remove unused parameter in [__]page_table_check_pte_set
Remove unused addr in __page_table_check_pte_set and page_table_check_pte_set. Link: https://lkml.kernel.org/r/20230713172636.1705415-7-shikemeng@huaweicloud.com Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com> Cc: Pavel Tatashin <pasha.tatashin@soleen.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'arch/x86/include/asm/pgtable.h')
-rw-r--r--arch/x86/include/asm/pgtable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h
index f07c610c3458..d14f0d92f04b 100644
--- a/arch/x86/include/asm/pgtable.h
+++ b/arch/x86/include/asm/pgtable.h
@@ -1023,7 +1023,7 @@ static inline pud_t native_local_pudp_get_and_clear(pud_t *pudp)
static inline void set_pte_at(struct mm_struct *mm, unsigned long addr,
pte_t *ptep, pte_t pte)
{
- page_table_check_pte_set(mm, addr, ptep, pte);
+ page_table_check_pte_set(mm, ptep, pte);
set_pte(ptep, pte);
}