Skip to content

Commit

Permalink
[POWERPC] spufs: Remove spu_harvest
Browse files Browse the repository at this point in the history
Based on an initial patch from Sebastian Siewior
<sebastian@breakpoint.cc>

spu_harvest isn't used, remove it.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Jeremy Kerr authored and Paul Mackerras committed Sep 19, 2007
1 parent 1e8b0f6 commit 6232a74
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions arch/powerpc/platforms/cell/spufs/switch.c
Original file line number Diff line number Diff line change
Expand Up @@ -2146,19 +2146,6 @@ int spu_restore(struct spu_state *new, struct spu *spu)
}
EXPORT_SYMBOL_GPL(spu_restore);

/**
* spu_harvest - SPU harvest (reset) operation
* @spu: pointer to SPU iomem structure.
*
* Perform SPU harvest (reset) operation.
*/
void spu_harvest(struct spu *spu)
{
acquire_spu_lock(spu);
harvest(NULL, spu);
release_spu_lock(spu);
}

static void init_prob(struct spu_state *csa)
{
csa->spu_chnlcnt_RW[9] = 1;
Expand Down

0 comments on commit 6232a74

Please sign in to comment.