* [merged mm-stable] mm-sparse-fix-sparse_vmemmap_init_nid_early-definition-without-config_sparsemem.patch removed from -mm tree
@ 2025-12-09 19:26 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2025-12-09 19:26 UTC (permalink / raw)
To: mm-commits, vbabka, surenb, rppt, mhocko, lorenzo.stoakes,
liam.howlett, fvdl, david, guojinhui.liam, akpm
The quilt patch titled
Subject: mm/sparse: fix sparse_vmemmap_init_nid_early definition without CONFIG_SPARSEMEM
has been removed from the -mm tree. Its filename was
mm-sparse-fix-sparse_vmemmap_init_nid_early-definition-without-config_sparsemem.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: "Jinhui Guo" <guojinhui.liam@bytedance.com>
Subject: mm/sparse: fix sparse_vmemmap_init_nid_early definition without CONFIG_SPARSEMEM
Date: Thu, 27 Nov 2025 17:25:12 +0800
When CONFIG_SPARSEMEM is disabled, the macro
sparse_vmemmap_init_nid_early(_nid, _use) passes two arguments, while the
actual function accepts only nid. Drop the extra argument _use.
Link: https://lkml.kernel.org/r/20251127092512.278-1-guojinhui.liam@bytedance.com
Fixes: d65917c42373 ("mm/sparse: allow for alternate vmemmap section init at boot")
Signed-off-by: Jinhui Guo <guojinhui.liam@bytedance.com>
Cc: Frank van der Linden <fvdl@google.com>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: "David Hildenbrand (Red Hat)" <david@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/linux/mmzone.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/include/linux/mmzone.h~mm-sparse-fix-sparse_vmemmap_init_nid_early-definition-without-config_sparsemem
+++ a/include/linux/mmzone.h
@@ -2289,7 +2289,7 @@ void sparse_init(void);
#else
#define sparse_init() do {} while (0)
#define sparse_index_init(_sec, _nid) do {} while (0)
-#define sparse_vmemmap_init_nid_early(_nid, _use) do {} while (0)
+#define sparse_vmemmap_init_nid_early(_nid) do {} while (0)
#define sparse_vmemmap_init_nid_late(_nid) do {} while (0)
#define pfn_in_present_section pfn_valid
#define subsection_map_init(_pfn, _nr_pages) do {} while (0)
_
Patches currently in -mm which might be from guojinhui.liam@bytedance.com are
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-12-09 19:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-09 19:26 [merged mm-stable] mm-sparse-fix-sparse_vmemmap_init_nid_early-definition-without-config_sparsemem.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.