Skip to content
Commit ecf677c8 authored by Palmer Dabbelt's avatar Palmer Dabbelt Committed by Bjorn Helgaas
Browse files

PCI: Add a generic weak pcibios_align_resource()



Multiple architectures define this as a trivial function, and I'm adding
another one as part of the RISC-V port.  Add a __weak version of
pcibios_align_resource() and delete the now-obselete ones in a handful of
ports.

The only functional change should be that a handful of ports used to export
pcibios_fixup_bus().  Only some architectures export this, so I just
dropped it.

Signed-off-by: default avatarPalmer Dabbelt <palmer@dabbelt.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent bccf90d6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment