Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104367
b: refs/heads/master
c: be54f9d
h: refs/heads/master
i:
  104365: 078c10c
  104363: cf34b4d
  104359: e3d126a
  104351: c15f8fd
v: v3
  • Loading branch information
FUJITA Tomonori authored and Ingo Molnar committed Jul 11, 2008
1 parent 7435bcd commit b765c1f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b8b48326f312026af12799917383c54c25d05482
refs/heads/master: be54f9d1c8df93c4998e134a306652caaa58f67f
2 changes: 0 additions & 2 deletions trunk/arch/x86/kernel/pci-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,7 @@ void __init pci_iommu_alloc(void)

amd_iommu_detect();

#ifdef CONFIG_SWIOTLB
pci_swiotlb_init();
#endif
}
#endif

Expand Down
6 changes: 4 additions & 2 deletions trunk/include/asm-x86/swiotlb.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ 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

extern void pci_swiotlb_init(void);

static inline void dma_mark_clean(void *addr, size_t size) {}

#endif /* _ASM_SWIOTLB_H */

0 comments on commit b765c1f

Please sign in to comment.