summaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
diff options
context:
space:
mode:
authorHaifeng Xu <haifeng.xu@shopee.com>2023-06-07 03:24:02 +0000
committerAndrew Morton <akpm@linux-foundation.org>2023-06-19 16:19:04 -0700
commit91ff4d754a1895feb4216e94028edd76cbbc0770 (patch)
treedc0b3c47bead6660a7558572c0768070bcd7a0be /mm/shmem.c
parentbd5f79ab39367665f40e10c2486aa15e7a841490 (diff)
downloadlinux-stable-91ff4d754a1895feb4216e94028edd76cbbc0770.tar.gz
linux-stable-91ff4d754a1895feb4216e94028edd76cbbc0770.tar.bz2
linux-stable-91ff4d754a1895feb4216e94028edd76cbbc0770.zip
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 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions