OSDN Git Service

powerpc/eeh: Kill off eeh_ops->get_pe_addr()
authorOliver O'Halloran <oohall@gmail.com>
Sat, 25 Jul 2020 08:12:22 +0000 (18:12 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 26 Jul 2020 13:34:20 +0000 (23:34 +1000)
commita40db934312cb2a4bef16b3edc962bc8c7f6462f
treee2f28bceb020b82d624d36cbac4c3c5817f26a61
parentc408ce9075b8e1533f30fd3a113b75fb745f722f
powerpc/eeh: Kill off eeh_ops->get_pe_addr()

This is used in precisely one place which is in pseries specific platform
code.  There's no need to have the callback in eeh_ops since the platform
chooses the EEH PE addresses anyway. The PowerNV implementation has always
been a stub too so remove it.

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/20200725081231.39076-5-oohall@gmail.com
arch/powerpc/include/asm/eeh.h
arch/powerpc/platforms/powernv/eeh-powernv.c
arch/powerpc/platforms/pseries/eeh_pseries.c