From: Geoff Levand Date: Mon, 20 Nov 2006 17:45:02 +0000 (+0100) Subject: [POWERPC] spufs: Replace spu.nid with spu.node X-Git-Tag: v3.12-rc1~31383^2~47^2~109^2~88 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0021550c0199b2bf5e434eda0216144074537fc7;p=kernel%2Fkernel-generic.git [POWERPC] spufs: Replace spu.nid with spu.node Replace the use of the platform specific variable spu.nid with the platform independednt variable spu.node. Signed-off-by: Geoff Levand Signed-off-by: Arnd Bergmann Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/platforms/cell/spu_base.c b/arch/powerpc/platforms/cell/spu_base.c index d5aeb3c..56ff8b3 100644 --- a/arch/powerpc/platforms/cell/spu_base.c +++ b/arch/powerpc/platforms/cell/spu_base.c @@ -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); }