linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 5/16] cell: replace spu.nid with spu.node
@ 2006-11-10 20:01 Geoff Levand
  2006-11-11  2:05 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Geoff Levand @ 2006-11-10 20:01 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: linuxppc-dev, Arnd Bergmann

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>

---
 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);
 }
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 5/16] cell: replace spu.nid with spu.node
  2006-11-10 20:01 [PATCH 5/16] cell: replace spu.nid with spu.node Geoff Levand
@ 2006-11-11  2:05 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2006-11-11  2:05 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Paul Mackerras

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 <geoffrey.levand@am.sony.com>

Acked-by: Arnd Bergmann <arnd@arndb.de>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-11  2:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-10 20:01 [PATCH 5/16] cell: replace spu.nid with spu.node Geoff Levand
2006-11-11  2:05 ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).