memblock: rename memblock_free to memblock_phys_free
Since memblock_free() operates on a physical range, make its name reflect it and rename it to memblock_phys_free(), so it will be a logical counterpart to memblock_phys_alloc(). The callers are updated with the below semantic patch: @@ expression addr; expression size; @@ - memblock_free(addr, size); + memblock_phys_free(addr, size); Link: https://lkml.kernel.org/r/20210930185031.18648-6-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>
Showing
- arch/alpha/kernel/core_irongate.c 2 additions, 1 deletionarch/alpha/kernel/core_irongate.c
- arch/arc/mm/init.c 1 addition, 1 deletionarch/arc/mm/init.c
- arch/arm/mach-hisi/platmcpm.c 1 addition, 1 deletionarch/arm/mach-hisi/platmcpm.c
- arch/arm/mm/init.c 1 addition, 1 deletionarch/arm/mm/init.c
- arch/arm64/mm/mmu.c 2 additions, 2 deletionsarch/arm64/mm/mmu.c
- arch/mips/mm/init.c 1 addition, 1 deletionarch/mips/mm/init.c
- arch/mips/sgi-ip30/ip30-setup.c 3 additions, 3 deletionsarch/mips/sgi-ip30/ip30-setup.c
- arch/powerpc/kernel/dt_cpu_ftrs.c 2 additions, 2 deletionsarch/powerpc/kernel/dt_cpu_ftrs.c
- arch/powerpc/kernel/paca.c 4 additions, 4 deletionsarch/powerpc/kernel/paca.c
- arch/powerpc/kernel/setup-common.c 1 addition, 1 deletionarch/powerpc/kernel/setup-common.c
- arch/powerpc/kernel/setup_64.c 1 addition, 1 deletionarch/powerpc/kernel/setup_64.c
- arch/powerpc/platforms/powernv/pci-ioda.c 1 addition, 1 deletionarch/powerpc/platforms/powernv/pci-ioda.c
- arch/powerpc/platforms/pseries/svm.c 2 additions, 1 deletionarch/powerpc/platforms/pseries/svm.c
- arch/riscv/kernel/setup.c 3 additions, 2 deletionsarch/riscv/kernel/setup.c
- arch/s390/kernel/setup.c 4 additions, 4 deletionsarch/s390/kernel/setup.c
- arch/s390/kernel/smp.c 2 additions, 2 deletionsarch/s390/kernel/smp.c
- arch/s390/kernel/uv.c 1 addition, 1 deletionarch/s390/kernel/uv.c
- arch/s390/mm/kasan_init.c 1 addition, 1 deletionarch/s390/mm/kasan_init.c
- arch/sh/boards/mach-ap325rxa/setup.c 1 addition, 1 deletionarch/sh/boards/mach-ap325rxa/setup.c
- arch/sh/boards/mach-ecovec24/setup.c 2 additions, 2 deletionsarch/sh/boards/mach-ecovec24/setup.c
Loading
Please register or sign in to comment