[Cbe-oss-dev] [patch 4/6] spufs: wrap cpu affinity
Arnd Bergmann
arnd at arndb.de
Thu Apr 27 21:50:58 EST 2006
On Wednesday 26 April 2006 23:52, Geoff Levand wrote:
> void spu_irq_setaffinity(struct spu *spu, int cpu)
> {
> - u64 target = iic_get_target_id(cpu);
> - u64 route = target << 48 | target << 32 | target << 16;
> - spu_int_route_set(spu, route);
> + spu_set_cpu_affinity(spu, cpu);
> }
> EXPORT_SYMBOL_GPL(spu_irq_setaffinity);
>
That makes this function completely obsolete, because it
only calls another function. Just convert the caller to
use spu_set_cpu_affinity directly.
Arnd <><
More information about the cbe-oss-dev
mailing list