aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2009-08-26 06:10:19 -0400
committerJoerg Roedel <joerg.roedel@amd.com>2009-09-03 09:49:55 -0400
commitf2430bd104bec2706315e9e983a9d9f828ff9565 (patch)
tree1edd5111f0418505a030cfe699cded518c2ea220
parent37d0892c5a94e208cf863e3b7bac014edee4346d (diff)
x86/amd-iommu: Remove some merge helper code
This patch removes some left-overs which where put into the code to simplify merging code which also depends on changes in other trees. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
-rw-r--r--arch/x86/kernel/amd_iommu.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/kernel/amd_iommu.c b/arch/x86/kernel/amd_iommu.c
index 6c99f5037801..70fdef54e066 100644
--- a/arch/x86/kernel/amd_iommu.c
+++ b/arch/x86/kernel/amd_iommu.c
@@ -41,9 +41,7 @@ static DEFINE_RWLOCK(amd_iommu_devtable_lock);
41static LIST_HEAD(iommu_pd_list); 41static LIST_HEAD(iommu_pd_list);
42static DEFINE_SPINLOCK(iommu_pd_list_lock); 42static DEFINE_SPINLOCK(iommu_pd_list_lock);
43 43
44#ifdef CONFIG_IOMMU_API
45static struct iommu_ops amd_iommu_ops; 44static struct iommu_ops amd_iommu_ops;
46#endif
47 45
48/* 46/*
49 * general struct to manage commands send to an IOMMU 47 * general struct to manage commands send to an IOMMU
@@ -62,10 +60,6 @@ static void dma_ops_reserve_addresses(struct dma_ops_domain *dom,
62 unsigned long start_page, 60 unsigned long start_page,
63 unsigned int pages); 61 unsigned int pages);
64 62
65#ifndef BUS_NOTIFY_UNBOUND_DRIVER
66#define BUS_NOTIFY_UNBOUND_DRIVER 0x0005
67#endif
68
69#ifdef CONFIG_AMD_IOMMU_STATS 63#ifdef CONFIG_AMD_IOMMU_STATS
70 64
71/* 65/*