[PATCH] powerpc: Drop zalloc_maybe_bootmem()

Michael Ellerman patch-notifications at ellerman.id.au
Thu Aug 31 14:02:30 AEST 2023


On Wed, 23 Aug 2023 15:54:30 +1000, Michael Ellerman wrote:
> The only callers of zalloc_maybe_bootmem() are PCI setup routines. These
> used to be called early during boot before slab setup, and also during
> runtime due to hotplug.
> 
> But commit 5537fcb319d0 ("powerpc/pci: Add ppc_md.discover_phbs()")
> moved the boot-time calls later, after slab setup, meaning there's no
> longer any need for zalloc_maybe_bootmem(), kzalloc() can be used in all
> cases.
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc: Drop zalloc_maybe_bootmem()
      https://git.kernel.org/powerpc/c/fabdb27da78afb93b0a83c0579025cb8d05c0d2d

cheers


More information about the Linuxppc-dev mailing list