diff options
Diffstat (limited to 'arch/powerpc/kernel/iommu.c')
-rw-r--r-- | arch/powerpc/kernel/iommu.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/arch/powerpc/kernel/iommu.c b/arch/powerpc/kernel/iommu.c index 5547ae6e6b0b..d5839179ec77 100644 --- a/arch/powerpc/kernel/iommu.c +++ b/arch/powerpc/kernel/iommu.c | |||
@@ -42,26 +42,10 @@ | |||
42 | 42 | ||
43 | #define DBG(...) | 43 | #define DBG(...) |
44 | 44 | ||
45 | #ifdef CONFIG_IOMMU_VMERGE | 45 | static int novmerge; |
46 | static int novmerge = 0; | ||
47 | #else | ||
48 | static int novmerge = 1; | ||
49 | #endif | ||
50 | |||
51 | static int protect4gb = 1; | ||
52 | 46 | ||
53 | static void __iommu_free(struct iommu_table *, dma_addr_t, unsigned int); | 47 | static void __iommu_free(struct iommu_table *, dma_addr_t, unsigned int); |
54 | 48 | ||
55 | static int __init setup_protect4gb(char *str) | ||
56 | { | ||
57 | if (strcmp(str, "on") == 0) | ||
58 | protect4gb = 1; | ||
59 | else if (strcmp(str, "off") == 0) | ||
60 | protect4gb = 0; | ||
61 | |||
62 | return 1; | ||
63 | } | ||
64 | |||
65 | static int __init setup_iommu(char *str) | 49 | static int __init setup_iommu(char *str) |
66 | { | 50 | { |
67 | if (!strcmp(str, "novmerge")) | 51 | if (!strcmp(str, "novmerge")) |
@@ -71,7 +55,6 @@ static int __init setup_iommu(char *str) | |||
71 | return 1; | 55 | return 1; |
72 | } | 56 | } |
73 | 57 | ||
74 | __setup("protect4gb=", setup_protect4gb); | ||
75 | __setup("iommu=", setup_iommu); | 58 | __setup("iommu=", setup_iommu); |
76 | 59 | ||
77 | static unsigned long iommu_range_alloc(struct device *dev, | 60 | static unsigned long iommu_range_alloc(struct device *dev, |