lkml.org 
[lkml]   [2006]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 08/22] spufs: replace spu.nid with spu.node
    From: Geoff Levand <geoffrey.levand@am.sony.com>
    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>

    ---
    Index: linux-2.6/arch/powerpc/platforms/cell/spu_base.c
    ===================================================================
    --- linux-2.6.orig/arch/powerpc/platforms/cell/spu_base.c
    +++ linux-2.6/arch/powerpc/platforms/cell/spu_base.c
    @@ -835,14 +835,14 @@ static int spu_create_sysdev(struct 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);
    }

    --

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-11-20 19:17    [W:0.025 / U:88.960 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site