[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <174354080373.14745.16179554733114666534.tip-bot2@tip-bot2>
Date: Tue, 01 Apr 2025 20:53:23 -0000
From: "tip-bot2 for Baoquan He" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Baoquan He <bhe@...hat.com>, Ingo Molnar <mingo@...nel.org>,
Oscar Salvador <osalvador@...e.de>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: [tip: x86/mm] x86/mm: Remove the arch-specific pgd_leaf() definition
The following commit has been merged into the x86/mm branch of tip:
Commit-ID: b0510ac74e189442dde8799c1b212bd106f2300c
Gitweb: https://git.kernel.org/tip/b0510ac74e189442dde8799c1b212bd106f2300c
Author: Baoquan He <bhe@...hat.com>
AuthorDate: Mon, 31 Mar 2025 16:13:25 +08:00
Committer: Ingo Molnar <mingo@...nel.org>
CommitterDate: Tue, 01 Apr 2025 22:46:51 +02:00
x86/mm: Remove the arch-specific pgd_leaf() definition
PGD huge pages are not supported yet, let's use the generic definition
in <linux/pgtable.h>.
[ mingo: Cleaned up the changelog. ]
Signed-off-by: Baoquan He <bhe@...hat.com>
Signed-off-by: Ingo Molnar <mingo@...nel.org>
Reviewed-by: Oscar Salvador <osalvador@...e.de>
Link: https://lore.kernel.org/r/20250331081327.256412-6-bhe@redhat.com
---
arch/x86/include/asm/pgtable.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h
index 7bd6bd6..5f4fcc0 100644
--- a/arch/x86/include/asm/pgtable.h
+++ b/arch/x86/include/asm/pgtable.h
@@ -1472,9 +1472,6 @@ static inline bool pgdp_maps_userspace(void *__ptr)
return (((ptr & ~PAGE_MASK) / sizeof(pgd_t)) < PGD_KERNEL_START);
}
-#define pgd_leaf pgd_leaf
-static inline bool pgd_leaf(pgd_t pgd) { return false; }
-
#ifdef CONFIG_MITIGATION_PAGE_TABLE_ISOLATION
/*
* All top-level MITIGATION_PAGE_TABLE_ISOLATION page tables are order-1 pages
Powered by blists - more mailing lists