]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
memblock: drop memblock_free_early_nid() and memblock_free_early()
authorMike Rapoport <rppt@linux.ibm.com>
Fri, 5 Nov 2021 20:43:13 +0000 (13:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Mar 2025 11:50:07 +0000 (12:50 +0100)
commitca36f0848eb8c1bdc307c4921f3ec459b2011cc4
treeadd12a4c620a30ae24fd6838a76601c0bbc3dfd1
parentd26e179d2cac186632bb3b297d19ecf94066ab1f
memblock: drop memblock_free_early_nid() and memblock_free_early()

[ Upstream commit fa27717110ae51b9b9013ced0b5143888257bb79 ]

memblock_free_early_nid() is unused and memblock_free_early() is an
alias for memblock_free().

Replace calls to memblock_free_early() with calls to memblock_free() and
remove memblock_free_early() and memblock_free_early_nid().

Link: https://lkml.kernel.org/r/20210930185031.18648-4-rppt@kernel.org
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Juergen Gross <jgross@suse.com>
Cc: Shahab Vahedi <Shahab.Vahedi@synopsys.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Stable-dep-of: 29091a52562b ("of: reserved-memory: Do not make kmemleak ignore freed address")
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/mips/mm/init.c
arch/powerpc/platforms/pseries/svm.c
arch/s390/kernel/smp.c
drivers/base/arch_numa.c
drivers/s390/char/sclp_early.c
include/linux/memblock.h
kernel/dma/swiotlb.c
lib/cpumask.c
mm/percpu.c
mm/sparse.c