diff options
author | Becky Bruce <becky.bruce@freescale.com> | 2008-09-08 11:09:54 +0200 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-09-24 23:26:43 +0200 |
commit | 8fae0353247530d2124b2419052fa6120462fa99 (patch) | |
tree | 9690fc84a069869edb282508c40dc7f9a6aa1775 /arch/powerpc/kernel/dma-iommu.c | |
parent | powerpc: Move iommu dma ops from dma.c to dma-iommu.c (diff) | |
download | linux-8fae0353247530d2124b2419052fa6120462fa99.tar.xz linux-8fae0353247530d2124b2419052fa6120462fa99.zip |
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/dma-iommu.c')
-rw-r--r-- | arch/powerpc/kernel/dma-iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/dma-iommu.c b/arch/powerpc/kernel/dma-iommu.c index 01091f1d508c..49248f89ce23 100644 --- a/arch/powerpc/kernel/dma-iommu.c +++ b/arch/powerpc/kernel/dma-iommu.c @@ -20,7 +20,7 @@ static void *dma_iommu_alloc_coherent(struct device *dev, size_t size, { return iommu_alloc_coherent(dev, dev->archdata.dma_data, size, dma_handle, device_to_mask(dev), flag, - dev->archdata.numa_node); + dev_to_node(dev)); } static void dma_iommu_free_coherent(struct device *dev, size_t size, |