提交 6232a74f 编写于 作者: J Jeremy Kerr 提交者: Paul Mackerras

[POWERPC] spufs: Remove spu_harvest

Based on an initial patch from Sebastian Siewior
<sebastian@breakpoint.cc>

spu_harvest isn't used, remove it.
Signed-off-by: NJeremy Kerr <jk@ozlabs.org>
Signed-off-by: NPaul Mackerras <paulus@samba.org>
上级 1e8b0f6d
...@@ -2146,19 +2146,6 @@ int spu_restore(struct spu_state *new, struct spu *spu) ...@@ -2146,19 +2146,6 @@ int spu_restore(struct spu_state *new, struct spu *spu)
} }
EXPORT_SYMBOL_GPL(spu_restore); 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) static void init_prob(struct spu_state *csa)
{ {
csa->spu_chnlcnt_RW[9] = 1; csa->spu_chnlcnt_RW[9] = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册