Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 104365
b: refs/heads/master
c: ac7ded2
h: refs/heads/master
i:
  104363: cf34b4d
v: v3
  • Loading branch information
FUJITA Tomonori authored and Ingo Molnar committed Jul 11, 2008
1 parent 87dc0ca commit 078c10c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 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: 46a7fa270afbe5fddc6042a598cfe22977b0e989
refs/heads/master: ac7ded2adb2e43152fe7385ddd53bf45f5c92285
6 changes: 0 additions & 6 deletions trunk/arch/x86/kernel/pci-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,7 @@ void __init pci_iommu_alloc(void)
* The order of these functions is important for
* fall-back/fail-over reasons
*/
#ifdef CONFIG_GART_IOMMU
gart_iommu_hole_init();
#endif

#ifdef CONFIG_CALGARY_IOMMU
detect_calgary();
Expand Down Expand Up @@ -184,9 +182,7 @@ static __init int iommu_setup(char *p)
swiotlb = 1;
#endif

#ifdef CONFIG_GART_IOMMU
gart_parse_options(p);
#endif

#ifdef CONFIG_CALGARY_IOMMU
if (!strncmp(p, "calgary", 7))
Expand Down Expand Up @@ -508,9 +504,7 @@ static int __init pci_iommu_init(void)

amd_iommu_init();

#ifdef CONFIG_GART_IOMMU
gart_iommu_init();
#endif

no_iommu_init();
return 0;
Expand Down
10 changes: 9 additions & 1 deletion trunk/include/asm-x86/iommu.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,18 @@ extern void gart_iommu_hole_init(void);
static inline void early_gart_iommu_check(void)
{
}

static inline void gart_iommu_init(void)
{
}
static inline void gart_iommu_shutdown(void)
{
}
static inline void gart_parse_options(char *options)
{
}
static inline void gart_iommu_hole_init(void)
{
}
#endif

#endif

0 comments on commit 078c10c

Please sign in to comment.