Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123213
b: refs/heads/master
c: 1d32251
h: refs/heads/master
i:
  123211: 03bc77e
v: v3
  • Loading branch information
Ian Campbell authored and Ingo Molnar committed Dec 17, 2008
1 parent fd4c4c0 commit 075c172
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cfb80c9eae8c7ed8f2ee81090062d15ead51cbe8
refs/heads/master: 1d32251e846ccbcf9d2da041dffd1199f94b2a3b
10 changes: 10 additions & 0 deletions trunk/arch/x86/kernel/pci-swiotlb_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ void *swiotlb_alloc(unsigned order, unsigned long nslabs)
return (void *)__get_free_pages(GFP_DMA | __GFP_NOWARN, order);
}

dma_addr_t swiotlb_phys_to_bus(phys_addr_t paddr)
{
return paddr;
}

phys_addr_t swiotlb_bus_to_phys(dma_addr_t baddr)
{
return baddr;
}

static dma_addr_t
swiotlb_map_single_phys(struct device *hwdev, phys_addr_t paddr, size_t size,
int direction)
Expand Down

0 comments on commit 075c172

Please sign in to comment.