projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d32251
)
x86/swiotlb: add default swiotlb_arch_range_needs_mapping
author
Ian Campbell
<ian.campbell@citrix.com>
Tue, 16 Dec 2008 20:17:38 +0000
(12:17 -0800)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 17 Dec 2008 17:58:22 +0000
(18:58 +0100)
Xen will override these later on.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/pci-swiotlb_64.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/pci-swiotlb_64.c
b/arch/x86/kernel/pci-swiotlb_64.c
index 93a8371f2c22f1a5277ca86ae569921892a20f0a..242c3440687faea181b67e9f1607f76d04ee9780 100644
(file)
--- a/
arch/x86/kernel/pci-swiotlb_64.c
+++ b/
arch/x86/kernel/pci-swiotlb_64.c
@@
-33,6
+33,11
@@
phys_addr_t swiotlb_bus_to_phys(dma_addr_t baddr)
return baddr;
}
+int __weak swiotlb_arch_range_needs_mapping(void *ptr, size_t size)
+{
+ return 0;
+}
+
static dma_addr_t
swiotlb_map_single_phys(struct device *hwdev, phys_addr_t paddr, size_t size,
int direction)