mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 19:20:55 +07:00
1da4f9894c
Impact: cleanup This replaces architecture-specific swiotlb.h (X86 and IA64) with linux/swiotlb.h. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Ingo Molnar <mingo@elte.hu>
20 lines
332 B
C
20 lines
332 B
C
#ifndef ASM_IA64__SWIOTLB_H
|
|
#define ASM_IA64__SWIOTLB_H
|
|
|
|
#include <linux/dma-mapping.h>
|
|
#include <linux/swiotlb.h>
|
|
|
|
extern int swiotlb_force;
|
|
|
|
#ifdef CONFIG_SWIOTLB
|
|
extern int swiotlb;
|
|
extern void pci_swiotlb_init(void);
|
|
#else
|
|
#define swiotlb 0
|
|
static inline void pci_swiotlb_init(void)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#endif /* ASM_IA64__SWIOTLB_H */
|