mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
6959450e56
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: tony.luck@intel.com LKML-Reference: <1258199198-16657-4-git-send-email-fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Ingo Molnar <mingo@elte.hu>
18 lines
305 B
C
18 lines
305 B
C
#ifndef ASM_IA64__SWIOTLB_H
|
|
#define ASM_IA64__SWIOTLB_H
|
|
|
|
#include <linux/dma-mapping.h>
|
|
#include <linux/swiotlb.h>
|
|
|
|
#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 */
|