mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-31 00:17:44 +00:00
cde14bbfb3
This patch fixes - marking I-cache clean of pages DMAed to now only done for IA64 - broken multiple inclusion in include/asm-x86_64/swiotlb.h - missing call to mark_clean in swiotlb_sync_sg() - a (perhaps only theoretical) issue in swiotlb_dma_supported() when io_tlb_end is exactly at the end of memory Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Tony Luck <tony.luck@intel.com>
24 lines
427 B
C
24 lines
427 B
C
#ifndef _ASM_IA64_DMA_H
|
|
#define _ASM_IA64_DMA_H
|
|
|
|
/*
|
|
* Copyright (C) 1998-2002 Hewlett-Packard Co
|
|
* David Mosberger-Tang <davidm@hpl.hp.com>
|
|
*/
|
|
|
|
|
|
#include <asm/io.h> /* need byte IO */
|
|
|
|
extern unsigned long MAX_DMA_ADDRESS;
|
|
|
|
#ifdef CONFIG_PCI
|
|
extern int isa_dma_bridge_buggy;
|
|
#else
|
|
# define isa_dma_bridge_buggy (0)
|
|
#endif
|
|
|
|
#define free_dma(x)
|
|
|
|
void dma_mark_clean(void *addr, size_t size);
|
|
|
|
#endif /* _ASM_IA64_DMA_H */
|