OSDN Git Service

powerpc/powernv/sriov: Move M64 BAR allocation into a helper
authorOliver O'Halloran <oohall@gmail.com>
Wed, 22 Jul 2020 06:57:12 +0000 (16:57 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 26 Jul 2020 13:34:23 +0000 (23:34 +1000)
commit39efc03e3ee8f41909b7542be70b4061b38ca277
tree0612c4938b744a78a4f247b888f9881e681bb221
parent052da31d45fc71238ea8bed7e9a84648a1ee0bf3
powerpc/powernv/sriov: Move M64 BAR allocation into a helper

I want to refactor the loop this code is currently inside of. Hoist it on
out.

Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200722065715.1432738-13-oohall@gmail.com
arch/powerpc/platforms/powernv/pci-sriov.c