diff options
| author | Jinhui Guo <guojinhui.liam@bytedance.com> | 2025-11-27 17:25:12 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-12-09 11:25:32 -0800 |
| commit | 1cba2eba9b73d8dfee6b3e7465f510cace71637c (patch) | |
| tree | f7a2af3a9a1d467255bc1f70e0bb7a837b71f66b /scripts/checkpatch.pl | |
| parent | powerpc/pseries/cmm: adjust BALLOON_MIGRATE when migrating pages (diff) | |
| download | linux-1cba2eba9b73d8dfee6b3e7465f510cace71637c.tar.gz linux-1cba2eba9b73d8dfee6b3e7465f510cace71637c.zip | |
mm/sparse: fix sparse_vmemmap_init_nid_early definition without CONFIG_SPARSEMEM
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>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
