diff options
| author | Miaohe Lin <[email protected]> | 2023-06-25 03:33:40 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-08-18 17:12:00 +0000 |
| commit | 3a29280afb25263c76212a8c140c29f280049ffb (patch) | |
| tree | fa888db03651311ff2e02a21bbdc34aeb916cb47 /mm/mm_init.c | |
| parent | maple_tree: fix a few documentation issues (diff) | |
| download | kernel-3a29280afb25263c76212a8c140c29f280049ffb.tar.gz kernel-3a29280afb25263c76212a8c140c29f280049ffb.zip | |
mm/mm_init.c: update obsolete comment in get_pfn_range_for_nid()
Since commit 633c0666b5a5 ("Memoryless nodes: drop one memoryless node boot
warning"), the warning for a node with no available memory is removed.
Update the corresponding comment.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Miaohe Lin <[email protected]>
Reviewed-by: Mike Rapoport (IBM) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/mm_init.c')
| -rw-r--r-- | mm/mm_init.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/mm_init.c b/mm/mm_init.c index a1963c3322af..d356ba59ef2a 100644 --- a/mm/mm_init.c +++ b/mm/mm_init.c @@ -1681,8 +1681,7 @@ static inline void alloc_node_mem_map(struct pglist_data *pgdat) { } * * It returns the start and end page frame of a node based on information * provided by memblock_set_node(). If called for a node - * with no available memory, a warning is printed and the start and end - * PFNs will be 0. + * with no available memory, the start and end PFNs will be 0. */ void __init get_pfn_range_for_nid(unsigned int nid, unsigned long *start_pfn, unsigned long *end_pfn) |
