1. 24 10月, 2007 1 次提交
    • H
      AVR32: Fix sg_page breakage · 18ccc419
      Haavard Skinnemoen 提交于
      The latest sg changes introduce the following build errors on AVR32:
      
      include/asm/dma-mapping.h: In function ‘dma_map_sg’:
      include/asm/dma-mapping.h:220: error: implicit declaration of function ‘sg_page’
      include/asm/dma-mapping.h:220: error: invalid operands to binary -
      include/asm/dma-mapping.h:221: error: implicit declaration of function ‘sg_virt’
      include/asm/dma-mapping.h:221: warning: assignment makes pointer from integer without a cast
      include/asm/dma-mapping.h: In function ‘dma_sync_sg_for_device’:
      include/asm/dma-mapping.h:330: warning: passing argument 2 of ‘dma_cache_sync’ makes pointer from integer without a cast
      
      Fix it by including the correct header file, i.e. linux/scatterlist.h
      instead of asm/scatterlist.h.
      Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
      18ccc419
  2. 23 10月, 2007 1 次提交
  3. 11 10月, 2007 1 次提交
    • H
      [AVR32] Make dma_sync_*_for_cpu no-ops · b5a8e736
      Haavard Skinnemoen 提交于
      I don't think the dma_sync_*_for_cpu ever did anything useful. We
      flush the relevant cache lines when mapping the buffer or when calling
      dma_sync_*_for_device(), and the CPU isn't allowed to touch the buffer
      after that.
      
      In other words, if these functions actually have anything to flush
      from the caches, we're already in trouble.
      Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
      b5a8e736
  4. 07 3月, 2007 1 次提交
    • G
      avr32: dma-mapping.h · a9e28d9b
      Gary Zambrano 提交于
      Added dma_sync_single_range_for_cpu/device to dma-mapping.h in asm-avr32 to
      call dma_sync_single_for_cpu/device.  This patch enables b44 to compile on
      systems with these cpus.  This patch was created with the assumption that
      another method of dma_sync_single_range_for_cpu/device does not exist on these
      architectures.
      
      Signed-off by: Gary Zambrano <zambrano@broadcom.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NHaavard Skinnemoen <hskinnemoen@atmel.com>
      a9e28d9b
  5. 09 2月, 2007 1 次提交
  6. 08 12月, 2006 3 次提交
  7. 26 9月, 2006 1 次提交