]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8f8123c1aa6fbb2bf8c61b67653f0883697f080a
treee2f28bceb020b82d624d36cbac4c3c5817f26a61
parent0816435db491d2c5afba8e78d369050306d024b6
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