diff options
Diffstat (limited to 'arch/powerpc/kernel/iommu.c')
-rw-r--r-- | arch/powerpc/kernel/iommu.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/powerpc/kernel/iommu.c b/arch/powerpc/kernel/iommu.c index ec94f906ea43..d5839179ec77 100644 --- a/arch/powerpc/kernel/iommu.c +++ b/arch/powerpc/kernel/iommu.c | |||
@@ -43,20 +43,9 @@ | |||
43 | #define DBG(...) | 43 | #define DBG(...) |
44 | 44 | ||
45 | static int novmerge; | 45 | static int novmerge; |
46 | static int protect4gb = 1; | ||
47 | 46 | ||
48 | 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); |
49 | 48 | ||
50 | static int __init setup_protect4gb(char *str) | ||
51 | { | ||
52 | if (strcmp(str, "on") == 0) | ||
53 | protect4gb = 1; | ||
54 | else if (strcmp(str, "off") == 0) | ||
55 | protect4gb = 0; | ||
56 | |||
57 | return 1; | ||
58 | } | ||
59 | |||
60 | static int __init setup_iommu(char *str) | 49 | static int __init setup_iommu(char *str) |
61 | { | 50 | { |
62 | if (!strcmp(str, "novmerge")) | 51 | if (!strcmp(str, "novmerge")) |
@@ -66,7 +55,6 @@ static int __init setup_iommu(char *str) | |||
66 | return 1; | 55 | return 1; |
67 | } | 56 | } |
68 | 57 | ||
69 | __setup("protect4gb=", setup_protect4gb); | ||
70 | __setup("iommu=", setup_iommu); | 58 | __setup("iommu=", setup_iommu); |
71 | 59 | ||
72 | static unsigned long iommu_range_alloc(struct device *dev, | 60 | static unsigned long iommu_range_alloc(struct device *dev, |