Skip to content

Commit

Permalink
powerpc/cell: tidy up pervasive declarations
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Nicholas Piggin authored and Michael Ellerman committed Feb 8, 2021
1 parent 6c6aee0 commit dcdb4f1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions arch/powerpc/platforms/cell/pervasive.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <asm/cpu_has_feature.h>

#include "pervasive.h"
#include "ras.h"

static void cbe_power_save(void)
{
Expand Down
3 changes: 0 additions & 3 deletions arch/powerpc/platforms/cell/pervasive.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
#define PERVASIVE_H

extern void cbe_pervasive_init(void);
extern void cbe_system_error_exception(struct pt_regs *regs);
extern void cbe_maintenance_exception(struct pt_regs *regs);
extern void cbe_thermal_exception(struct pt_regs *regs);

#ifdef CONFIG_PPC_IBM_CELL_RESETBUTTON
extern int cbe_sysreset_hack(void);
Expand Down

0 comments on commit dcdb4f1

Please sign in to comment.