OSDN Git Service

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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Nov 2021 20:30:41 +0000 (13:30 -0700)
commitfa27717110ae51b9b9013ced0b5143888257bb79
tree87fab6009c62f699b9011c4d94968cec39a6ba72
parentc486514dd40980b2dbb0e15fabddfe1324ed0197
memblock: drop memblock_free_early_nid() and memblock_free_early()

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>
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