powerpc: Make function that parses RTAS error logs global
authorAnton Blanchard <anton@samba.org>
Wed, 21 Mar 2012 15:47:07 +0000 (15:47 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 28 Mar 2012 00:31:58 +0000 (11:31 +1100)
commit6431f20879e338306b997cd75a36824cf9d6e687
tree3ae6dd6a4347861b1834ea6b612ae686d23e0c1e
parent1a5c2e63f497bdb5912138888053a02870ed1153
powerpc: Make function that parses RTAS error logs global

The IO event interrupt code has a function that finds specific
sections in an RTAS error log. We want to use it in the EPOW
code so make it global.

Rename things to make it less cryptic:

find_xelog_section() -> get_pseries_errorlog()
struct pseries_elog_section -> struct pseries_errorlog

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/rtas.h
arch/powerpc/kernel/rtas.c
arch/powerpc/platforms/pseries/io_event_irq.c