diff options
author | Becky Bruce <becky.bruce@freescale.com> | 2008-09-08 05:09:54 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-09-24 17:26:43 -0400 |
commit | 8fae0353247530d2124b2419052fa6120462fa99 (patch) | |
tree | 9690fc84a069869edb282508c40dc7f9a6aa1775 /arch/powerpc/kernel/vio.c | |
parent | 8dd0e95206f7c33bed2aed33ac668335174684e8 (diff) |
powerpc: Drop archdata numa_node
Use the struct device's numa_node instead; use accessor functions
to get/set numa_node.
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/vio.c')
-rw-r--r-- | arch/powerpc/kernel/vio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/vio.c b/arch/powerpc/kernel/vio.c index 2750fbab1975..434c92a85c03 100644 --- a/arch/powerpc/kernel/vio.c +++ b/arch/powerpc/kernel/vio.c | |||
@@ -1232,7 +1232,7 @@ struct vio_dev *vio_register_device_node(struct device_node *of_node) | |||
1232 | else | 1232 | else |
1233 | viodev->dev.archdata.dma_ops = &dma_iommu_ops; | 1233 | viodev->dev.archdata.dma_ops = &dma_iommu_ops; |
1234 | viodev->dev.archdata.dma_data = vio_build_iommu_table(viodev); | 1234 | viodev->dev.archdata.dma_data = vio_build_iommu_table(viodev); |
1235 | viodev->dev.archdata.numa_node = of_node_to_nid(of_node); | 1235 | set_dev_node(&viodev->dev, of_node_to_nid(of_node)); |
1236 | 1236 | ||
1237 | /* init generic 'struct device' fields: */ | 1237 | /* init generic 'struct device' fields: */ |
1238 | viodev->dev.parent = &vio_bus_device.dev; | 1238 | viodev->dev.parent = &vio_bus_device.dev; |