1. 10 Aug, 2009 1 commit
    • Arnd Bergmann's avatar
      dma-ops: Remove flush_write_buffers() in dma-mapping-common.h · a8ad568d
      Arnd Bergmann authored
      This moves flush_write_buffers() in
      asm-generic/dma-mapping-common.h to
      arch/x86/kernel/pci-nommu.c.
      
      The purpose of this patch is that, we can avoid defining NULL
      flush_write_buffers() on IA64 and SPARC.
      
      dma-mapping-common.h is used by X86 and IA64 (and SPARC soon)
      but only X86 with CONFIG_X86_OOSTORE or CONFIG_X86_PPRO_FENCE
      actually uses flush_write_buffers(). CONFIG_X86_OOSTORE or
      CONFIG_X86_PPRO_FENCE is usable with only kernel/pci-nommu.c
      (that is, not usable with other X86 IOMMU implementations such
      as SWIOTLB, VT-d, etc) so we can safely move
      flush_write_buffers() in asm-generic/dma-mapping-common.h to
      arch/x86/kernel/pci-nommu.c.
      
      The further discussion is:
      
        http://lkml.org/lkml/2009/6/28/104Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
      Cc: davem@davemloft.net
      Cc: tony.luck@intel.com
      Cc: fenghua.yu@intel.com
      LKML-Reference: <1249872797-1314-2-git-send-email-fujita.tomonori@lab.ntt.co.jp>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      a8ad568d
  2. 28 Jul, 2009 17 commits
  3. 27 Jul, 2009 22 commits