Skip to contentSkip to conversation

mm-make-mk_pte-definition-unconditional.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message May 12, 2025

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: make mk_pte() definition unconditional
has been removed from the -mm tree. Its filename was
mm-make-mk_pte-definition-unconditional.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: "Matthew Wilcox (Oracle)" <[email protected]>
Subject: mm: make mk_pte() definition unconditional
Date: Wed, 2 Apr 2025 19:17:00 +0100

All architectures now use the common mk_pte() definition, so we can remove the condition.

Cc Zi Yan <[email protected]>
Cc Alexander Gordeev <[email protected]>
Cc Andreas Larsson <[email protected]>
Cc Anton Ivanov <[email protected]>
Cc Dave Hansen <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Johannes Berg <[email protected]>
Cc Muchun Song <[email protected]>
Cc Richard Weinberger <[email protected]>

---

 include/linux/mm.h |    2 --
 1 file changed, 2 deletions(-)
include/linux/mm.h renamed from include/linux/mm.h~mm-make-mk_pte-definition-unconditional +0 -2
@@ -2004,14 +2004,12 @@ static inline struct folio *pfn_folio(un
 	return page_folio(pfn_to_page(pfn));
 }
 
-#ifndef mk_pte
 #ifdef CONFIG_MMU
 static inline pte_t mk_pte(struct page *page, pgprot_t pgprot)
 {
 	return pfn_pte(page_to_pfn(page), pgprot);
 }
 #endif
-#endif
 
 static inline bool folio_has_pincount(const struct folio *folio)
 {

_

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