powerpc/pseries: Make request_ras_irqs() available to other pseries code
At the moment only the RAS code uses event-sources interrupts (for EPOW events and internal errors) so request_ras_irqs() (which actually requests the event-sources interrupts) is found in ras.c and is static. We want to be able to use event-sources interrupts in other pseries code, so let's rename request_ras_irqs() to request_event_sources_irqs() and move it to event_sources.c. This will be used in an upcoming patch that adds support for IO Event interrupts that come through as event sources. Signed-off-by:Mark Nelson <markn@au1.ibm.com> Signed-off-by:
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Showing
- arch/powerpc/platforms/pseries/Makefile 1 addition, 1 deletionarch/powerpc/platforms/pseries/Makefile
- arch/powerpc/platforms/pseries/event_sources.c 79 additions, 0 deletionsarch/powerpc/platforms/pseries/event_sources.c
- arch/powerpc/platforms/pseries/pseries.h 7 additions, 0 deletionsarch/powerpc/platforms/pseries/pseries.h
- arch/powerpc/platforms/pseries/ras.c 3 additions, 59 deletionsarch/powerpc/platforms/pseries/ras.c
Loading
Please register or sign in to comment