mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 21:21:47 +00:00
c7b3aee8af
This removes remove hwsw_dma_ops (and hwsw_* functions). hwsw_dma_get_ops can select swiotlb_dma_ops and sba_dma_ops appropriately. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Acked-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
20 lines
589 B
C
20 lines
589 B
C
#ifndef _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h
|
|
#define _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h
|
|
|
|
extern ia64_mv_setup_t dig_setup;
|
|
extern ia64_mv_dma_get_ops hwsw_dma_get_ops;
|
|
|
|
/*
|
|
* This stuff has dual use!
|
|
*
|
|
* For a generic kernel, the macros are used to initialize the
|
|
* platform's machvec structure. When compiling a non-generic kernel,
|
|
* the macros are used directly.
|
|
*/
|
|
#define platform_name "hpzx1_swiotlb"
|
|
#define platform_setup dig_setup
|
|
#define platform_dma_init machvec_noop
|
|
#define platform_dma_get_ops hwsw_dma_get_ops
|
|
|
|
#endif /* _ASM_IA64_MACHVEC_HPZX1_SWIOTLB_h */
|