Skip to contentSkip to conversation

mm-x86-drop-two-unnecessary-pud_leaf-definitions.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Mar 6, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm/x86: drop two unnecessary pud_leaf() definitions
has been removed from the -mm tree. Its filename was
mm-x86-drop-two-unnecessary-pud_leaf-definitions.patch

This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Peter Xu <[email protected]>
Subject: mm/x86: drop two unnecessary pud_leaf() definitions
Date: Tue, 5 Mar 2024 12:37:45 +0800

pud_leaf() has a fallback macro defined in include/linux/pgtable.h already. Drop the extra two for x86.

Cc Ingo Molnar <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Dave Hansen <[email protected]>
Cc Alexander Potapenko <[email protected]>
Cc Andrey Konovalov <[email protected]>
Cc Andrey Ryabinin <[email protected]>
Cc "Aneesh Kumar K.V" <[email protected]>
Cc Christophe Leroy <[email protected]>
Cc Dmitry Vyukov <[email protected]>
Cc Kirill A. Shutemov <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Muchun Song <[email protected]>
Cc "Naveen N. Rao" <[email protected]>
Cc Nicholas Piggin <[email protected]>
Cc Vincenzo Frascino <[email protected]>
Cc Yang Shi <[email protected]>

---

 arch/x86/include/asm/pgtable.h      |    1 -
 include/asm-generic/pgtable-nopmd.h |    1 -
 2 files changed, 2 deletions(-)
arch/x86/include/asm/pgtable.h renamed from arch/x86/include/asm/pgtable.h~mm-x86-drop-two-unnecessary-pud_leaf-definitions +0 -1
@@ -1097,7 +1097,6 @@ static inline int pud_bad(pud_t pud)
 	return (pud_flags(pud) & ~(_KERNPG_TABLE | _PAGE_USER)) != 0;
 }
 #else
-#define pud_leaf	pud_large
 static inline int pud_large(pud_t pud)
 {
 	return 0;
include/asm-generic/pgtable-nopmd.h renamed from include/asm-generic/pgtable-nopmd.h~mm-x86-drop-two-unnecessary-pud_leaf-definitions +0 -1
@@ -31,7 +31,6 @@ static inline int pud_none(pud_t pud)		{
 static inline int pud_bad(pud_t pud)		{ return 0; }
 static inline int pud_present(pud_t pud)	{ return 1; }
 static inline int pud_user(pud_t pud)		{ return 0; }
-static inline int pud_leaf(pud_t pud)		{ return 0; }
 static inline void pud_clear(pud_t *pud)	{ }
 #define pmd_ERROR(pmd)				(pud_ERROR((pmd).pud))
 

_

Patches currently in -mm which might be from [email protected] are