-
- Downloads
[PATCH] Pass struct dev pointer to dma_cache_sync()
Pass struct dev pointer to dma_cache_sync() dma_cache_sync() is ill-designed in that it does not have a struct device pointer argument which makes proper support for systems that consist of a mix of coherent and non-coherent DMA devices hard. Change dma_cache_sync to take a struct device pointer as first argument and fix all its callers to pass it. Signed-off-by:Ralf Baechle <ralf@linux-mips.org> Cc: James Bottomley <James.Bottomley@steeleye.com> Cc: "David S. Miller" <davem@davemloft.net> Cc: Greg KH <greg@kroah.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- Documentation/DMA-API.txt 1 addition, 1 deletionDocumentation/DMA-API.txt
- arch/avr32/mm/dma-coherent.c 1 addition, 1 deletionarch/avr32/mm/dma-coherent.c
- arch/mips/mm/dma-coherent.c 1 addition, 1 deletionarch/mips/mm/dma-coherent.c
- arch/mips/mm/dma-ip27.c 1 addition, 1 deletionarch/mips/mm/dma-ip27.c
- arch/mips/mm/dma-ip32.c 2 additions, 1 deletionarch/mips/mm/dma-ip32.c
- arch/mips/mm/dma-noncoherent.c 2 additions, 1 deletionarch/mips/mm/dma-noncoherent.c
- drivers/net/lasi_82596.c 47 additions, 47 deletionsdrivers/net/lasi_82596.c
- drivers/scsi/53c700.c 43 additions, 37 deletionsdrivers/scsi/53c700.c
- drivers/scsi/53c700.h 8 additions, 8 deletionsdrivers/scsi/53c700.h
- drivers/serial/mpsc.c 11 additions, 11 deletionsdrivers/serial/mpsc.c
- include/asm-alpha/dma-mapping.h 1 addition, 1 deletioninclude/asm-alpha/dma-mapping.h
- include/asm-avr32/dma-mapping.h 2 additions, 1 deletioninclude/asm-avr32/dma-mapping.h
- include/asm-cris/dma-mapping.h 1 addition, 1 deletioninclude/asm-cris/dma-mapping.h
- include/asm-frv/dma-mapping.h 1 addition, 1 deletioninclude/asm-frv/dma-mapping.h
- include/asm-generic/dma-mapping.h 1 addition, 1 deletioninclude/asm-generic/dma-mapping.h
- include/asm-i386/dma-mapping.h 1 addition, 1 deletioninclude/asm-i386/dma-mapping.h
- include/asm-ia64/dma-mapping.h 2 additions, 1 deletioninclude/asm-ia64/dma-mapping.h
- include/asm-m68k/dma-mapping.h 1 addition, 1 deletioninclude/asm-m68k/dma-mapping.h
- include/asm-mips/dma-mapping.h 1 addition, 1 deletioninclude/asm-mips/dma-mapping.h
- include/asm-parisc/dma-mapping.h 1 addition, 1 deletioninclude/asm-parisc/dma-mapping.h
Loading
Please register or sign in to comment