diff options
| author | Bjorn Helgaas <[email protected]> | 2014-05-20 22:54:23 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2014-05-20 22:55:39 +0000 |
| commit | ace4b3fd67e771951d495aa1f1b1000984083362 (patch) | |
| tree | 6af143970c659a6755795c1f4a499b4d014c030a /net/unix/af_unix.c | |
| parent | DMA-API: Change dma_declare_coherent_memory() CPU address to phys_addr_t (diff) | |
| download | kernel-ace4b3fd67e771951d495aa1f1b1000984083362.tar.gz kernel-ace4b3fd67e771951d495aa1f1b1000984083362.zip | |
sh/PCI: Pass GAPSPCI_DMA_BASE CPU & bus address to dma_declare_coherent_memory()
dma_declare_coherent_memory() needs both the CPU physical address and the
bus address of the device memory. They are the same on this platform, but
in general we should use pcibios_resource_to_bus() to account for any
address translation done by the PCI host bridge.
This makes no difference on Dreamcast, but is safer if the usage is copied
to future drivers.
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
CC: Magnus Damm <[email protected]>
CC: [email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
