android_kernel_xiaomi_sdm845/arch/ia64
FUJITA Tomonori c299030765 convert to use generic dma_map_ops struct, cleanup
Ingo Molnar <mingo@elte.hu> wrote:

> looks good on x86 but on ia64 there's a problem with one of the
> prototypes:
>
> In file included from tip/arch/ia64/include/asm/io.h:72,
>                  from tip/arch/ia64/include/asm/smp.h:20,
>                  from tip/include/linux/smp.h:33,
>                  from tip/include/linux/sched.h:68,
>                  from tip/arch/ia64/kernel/asm-offsets.c:9:
> tip/arch/ia64/include/asm/machvec.h:101: warning: parameter has incomplete type
> tip/arch/ia64/include/asm/machvec.h:103: warning: parameter has incomplete type
>
> that's about "enum dma_data_direction".
>
> I dont think enums can be forward declared like that.
>
> machvec.h is a fairly lowlevel include file - so including
> linux/dma-mapping.h probably wont work. We could do a
> linux/dma-mapping-types.h file that is more lowlevel, or we could move the
> machvec_dma_sync_single() and machvec_dma_sync_sg() declarations to a more
> highlevel file - like arch/ia64/include/asm/dma-mapping.h.
>
> To me the latter looks cleaner but no strong feelings.

Yeah, agreed.

They are generic IA64 DMA operations so I think that it makes sense to
move them to dma-mapping.h.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-01-07 13:48:21 +01:00
..
configs [IA64] Updated the generic_defconfig to work with the 2.6.28-rc7 kernel. 2008-12-09 10:07:48 -08:00
dig x86, ia64: convert to use generic dma_map_ops struct 2009-01-06 14:06:57 +01:00
hp x86, ia64: convert to use generic dma_map_ops struct 2009-01-06 14:06:57 +01:00
ia32 CRED: Wrap current->cred and a few other accessors 2008-11-14 10:39:18 +11:00
include/asm convert to use generic dma_map_ops struct, cleanup 2009-01-07 13:48:21 +01:00
kernel ia64: fix section mismatch swiotlb_dma_init -> swiotlb_init 2009-01-06 11:24:30 -08:00
kvm KVM: change KVM to use IOMMU API 2009-01-03 14:11:07 +01:00
lib [IA64] Add Variable Page Size and IA64 Support in Intel IOMMU 2008-10-17 12:14:13 -07:00
mm [IA64] fix the difference between node_mem_map and node_start_pfn 2008-11-04 11:31:12 -08:00
oprofile oprofile: more whitespace fixes 2008-10-15 20:55:51 +02:00
pci PCI: Add ability to mmap legacy_io on some platforms 2008-10-20 11:01:46 -07:00
scripts ia64/pv_ops: paravirtualized instruction checker. 2008-10-17 10:12:54 -07:00
sn x86, ia64: convert to use generic dma_map_ops struct 2009-01-06 14:06:57 +01:00
uv [IA64] Simplify SGI uv vs. sn2 driver issues 2008-11-04 11:29:39 -08:00
xen [IA64] xen: fix xen_get_eflags. 2008-11-20 13:43:01 -08:00
install.sh Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig select IOMMU_API when DMAR and/or AMD_IOMMU is selected 2009-01-03 14:10:09 +01:00
Kconfig.debug [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
Makefile Pull vtd-iommu into release branch 2008-10-17 13:52:22 -07:00
module.lds Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00