powerpc/pseries: Make request_ras_irqs() available to other pseries code
authorMark Nelson <markn@au1.ibm.com>
Tue, 18 May 2010 22:51:00 +0000 (22:51 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 21 May 2010 07:31:12 +0000 (17:31 +1000)
commit32c96f7765b881ab1f6ab8ff04b733e4cf157239
tree16414f6eead1f5e58efebd2ce26b80911264656b
parentbc8449cc57898bc9cf1ffc4619d026f77bf327c1
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>
arch/powerpc/platforms/pseries/Makefile
arch/powerpc/platforms/pseries/event_sources.c [new file with mode: 0644]
arch/powerpc/platforms/pseries/pseries.h
arch/powerpc/platforms/pseries/ras.c