]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit40498eda133379c1d5b5a94c6899278ba767d56f
treec0a941794c82de260360506dc3aa245a58fd3f35
parentf62c09195f05d7571582b2ed885c4a6d3f1cb2f4
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