summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powernv/pci.h
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2016-05-03 15:41:27 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2016-05-11 21:54:18 +1000
commit23e79425fe7caaa93ddcee18ac4c57069f0fb4b6 (patch)
tree8b5cb0044190e98d6e527628f8bde2b4c4038881 /arch/powerpc/platforms/powernv/pci.h
parent3fa23ff8ff3f0fa4f187bc46f81c69b1fdeecd9a (diff)
downloadlinux-23e79425fe7caaa93ddcee18ac4c57069f0fb4b6.tar.bz2
powerpc/powernv: Simplify pnv_ioda_setup_pe_seg()
pnv_ioda_setup_pe_seg() associates the IO and M32 segments with the owner PE. The code mapping segments should be fixed and immune from logic changes introduced to pnv_ioda_setup_pe_seg(). This moves the code mapping segments to helper pnv_ioda_setup_pe_res(). The data type for @rc is changed to "int64_t". Also, argument @hose is removed from pnv_ioda_setup_pe() as it can be got from @pe. No functional changes introduced. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Reviewed-By: Alistair Popple <alistair@popple.id.au> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/platforms/powernv/pci.h')
0 files changed, 0 insertions, 0 deletions