[PATCH 5/16] cell: replace spu.nid with spu.node

STALE7284d

2 messages, 2 authors, 2006-11-11 · open the first message on its own page

[PATCH 5/16] cell: replace spu.nid with spu.node

From: Geoff Levand <hidden>
Date: 2006-11-10 20:01:22

Replace the use of the platform specific variable spu.nid with the
platform independednt variable spu.node.


Signed-off-by: Geoff Levand <redacted>

---
 arch/powerpc/platforms/cell/spu_base.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: cell--common--6/arch/powerpc/platforms/cell/spu_base.c
===================================================================
--- cell--common--6.orig/arch/powerpc/platforms/cell/spu_base.c
+++ cell--common--6/arch/powerpc/platforms/cell/spu_base.c
@@ -810,14 +810,14 @@
 		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);
 }
 

Re: [PATCH 5/16] cell: replace spu.nid with spu.node

From: Arnd Bergmann <arnd@arndb.de>
Date: 2006-11-11 02:05:45

On Friday 10 November 2006 21:01, Geoff Levand wrote:
Replace the use of the platform specific variable spu.nid with the
platform independednt variable spu.node.


Signed-off-by: Geoff Levand <redacted>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help