mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 14:52:05 +00:00
033ef338b6
This splits arch/ppc64/kernel/rtas.c into arch/powerpc/kernel/rtas.c, which contains generic RTAS functions useful on any CHRP platform, and arch/powerpc/platforms/pseries/rtas-fw.[ch], which contain some pSeries-specific firmware flashing bits. The parts of rtas.c that are to do with pSeries-specific error logging are protected by a new CONFIG_RTAS_ERROR_LOGGING symbol. The inclusion of rtas.o is controlled by the CONFIG_PPC_RTAS symbol, and the relevant platforms select that. Signed-off-by: Paul Mackerras <paulus@samba.org>
4 lines
88 B
C
4 lines
88 B
C
void rtas_fw_restart(char *cmd);
|
|
void rtas_fw_power_off(void);
|
|
void rtas_fw_halt(void);
|