Commit cf78ddd3 authored by Gaosheng Cui's avatar Gaosheng Cui Committed by Michael Ellerman

powerpc/spufs: remove orphan declarations from spufs.h

Remove the following orphan declarations from spufs.h:
1. spufs_coredump_calls has been removed since
commit 48cad41f ("[POWERPC] spufs: Combine
spufs_coredump_calls with spufs_calls").

2. spufs_coredump_num_notes has been removed since
commit 936d5bf1 ("[POWERPC] spufs: Get rid of spufs_coredump_num_notes,
it's not needed if we NULL terminate").
Signed-off-by: default avatarGaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220913075029.682327-3-cuigaosheng1@huawei.com
parent edd10063
...@@ -333,7 +333,6 @@ void spufs_stop_callback(struct spu *spu, int irq); ...@@ -333,7 +333,6 @@ void spufs_stop_callback(struct spu *spu, int irq);
void spufs_mfc_callback(struct spu *spu); void spufs_mfc_callback(struct spu *spu);
void spufs_dma_callback(struct spu *spu, int type); void spufs_dma_callback(struct spu *spu, int type);
extern struct spu_coredump_calls spufs_coredump_calls;
struct spufs_coredump_reader { struct spufs_coredump_reader {
char *name; char *name;
ssize_t (*dump)(struct spu_context *ctx, struct coredump_params *cprm); ssize_t (*dump)(struct spu_context *ctx, struct coredump_params *cprm);
...@@ -341,7 +340,6 @@ struct spufs_coredump_reader { ...@@ -341,7 +340,6 @@ struct spufs_coredump_reader {
size_t size; size_t size;
}; };
extern const struct spufs_coredump_reader spufs_coredump_read[]; extern const struct spufs_coredump_reader spufs_coredump_read[];
extern int spufs_coredump_num_notes;
extern int spu_init_csa(struct spu_state *csa); extern int spu_init_csa(struct spu_state *csa);
extern void spu_fini_csa(struct spu_state *csa); extern void spu_fini_csa(struct spu_state *csa);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment