diff options
author | Haifeng Xu <haifeng.xu@shopee.com> | 2023-06-07 03:24:02 +0000 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-19 16:19:04 -0700 |
commit | 91ff4d754a1895feb4216e94028edd76cbbc0770 (patch) | |
tree | dc0b3c47bead6660a7558572c0768070bcd7a0be /include/linux/ramfs.h | |
parent | bd5f79ab39367665f40e10c2486aa15e7a841490 (diff) |
mm/mm_init.c: drop 'nid' parameter from check_for_memory()
The node_id in pgdat has already been set in free_area_init_node(),
so use it internally instead of passing a redundant parameter.
Link: https://lkml.kernel.org/r/20230607032402.4679-1-haifeng.xu@shopee.com
Signed-off-by: Haifeng Xu <haifeng.xu@shopee.com>
Reviewed-by: Mike Rapoport (IBM) <rppt@kernel.org>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/ramfs.h')
0 files changed, 0 insertions, 0 deletions