Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/cell: tidy up pervasive declarations

These are declared in ras.h and defined in ras.c so remove them from
pervasive.h

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210130130852.2952424-23-npiggin@gmail.com

authored by

Nicholas Piggin and committed by
Michael Ellerman
dcdb4f12 6c6aee00

+1 -3
+1
arch/powerpc/platforms/cell/pervasive.c
··· 25 25 #include <asm/cpu_has_feature.h> 26 26 27 27 #include "pervasive.h" 28 + #include "ras.h" 28 29 29 30 static void cbe_power_save(void) 30 31 {
-3
arch/powerpc/platforms/cell/pervasive.h
··· 13 13 #define PERVASIVE_H 14 14 15 15 extern void cbe_pervasive_init(void); 16 - extern void cbe_system_error_exception(struct pt_regs *regs); 17 - extern void cbe_maintenance_exception(struct pt_regs *regs); 18 - extern void cbe_thermal_exception(struct pt_regs *regs); 19 16 20 17 #ifdef CONFIG_PPC_IBM_CELL_RESETBUTTON 21 18 extern int cbe_sysreset_hack(void);