OSDN Git Service

powerpc/eeh: Introduce eeh_set_irq_state()
authorSam Bobroff <sbobroff@linux.ibm.com>
Fri, 25 May 2018 03:11:38 +0000 (13:11 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 3 Jun 2018 10:43:40 +0000 (20:43 +1000)
commit010acfa1a76679174a0d8732965d76ae8a8531f7
treec0a941794c82de260360506dc3aa245a58fd3f35
parent47cc8c1cc2f2d9889e84d59cbbe8cb1cc6e24ed1
powerpc/eeh: Introduce eeh_set_irq_state()

To ease future refactoring, extract calls to eeh_enable_irq() and
eeh_disable_irq() from the various report functions. This makes
the report functions initial sequences more similar, as well as making
the IRQ changes visible when reading eeh_handle_normal_event().

Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/eeh_driver.c