Skip to content

Commit

Permalink
[POWERPC] spufs: Replace spu.nid with spu.node
Browse files Browse the repository at this point in the history
Replace the use of the platform specific variable spu.nid with the
platform independednt variable spu.node.

Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Geoff Levand authored and Paul Mackerras committed Dec 4, 2006
1 parent 17f88ce commit 0021550
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/platforms/cell/spu_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -835,14 +835,14 @@ static int spu_create_sysdev(struct spu *spu)
return ret;
}

sysfs_add_device_to_node(&spu->sysdev, spu->nid);
sysfs_add_device_to_node(&spu->sysdev, spu->node);

return 0;
}

static void spu_destroy_sysdev(struct spu *spu)
{
sysfs_remove_device_from_node(&spu->sysdev, spu->nid);
sysfs_remove_device_from_node(&spu->sysdev, spu->node);
sysdev_unregister(&spu->sysdev);
}

Expand Down

0 comments on commit 0021550

Please sign in to comment.