diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-21 14:17:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-21 14:17:05 -0400 |
commit | 79c4581262e225a7c96d88b632b05ab3b5e9a52c (patch) | |
tree | 8ef030c74ab7e0d0df27cf86195f915efd2832f7 /arch/powerpc/kernel/iommu.c | |
parent | 59534f7298c5e28aaa64e6ed550e247f64ee72ae (diff) | |
parent | 99ec28f183daa450faa7bdad6f932364ae325648 (diff) |
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
* 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (92 commits)
powerpc: Remove unused 'protect4gb' boot parameter
powerpc: Build-in e1000e for pseries & ppc64_defconfig
powerpc/pseries: Make request_ras_irqs() available to other pseries code
powerpc/numa: Use ibm,architecture-vec-5 to detect form 1 affinity
powerpc/numa: Set a smaller value for RECLAIM_DISTANCE to enable zone reclaim
powerpc: Use smt_snooze_delay=-1 to always busy loop
powerpc: Remove check of ibm,smt-snooze-delay OF property
powerpc/kdump: Fix race in kdump shutdown
powerpc/kexec: Fix race in kexec shutdown
powerpc/kexec: Speedup kexec hash PTE tear down
powerpc/pseries: Add hcall to read 4 ptes at a time in real mode
powerpc: Use more accurate limit for first segment memory allocations
powerpc/kdump: Use chip->shutdown to disable IRQs
powerpc/kdump: CPUs assume the context of the oopsing CPU
powerpc/crashdump: Do not fail on NULL pointer dereferencing
powerpc/eeh: Fix oops when probing in early boot
powerpc/pci: Check devices status property when scanning OF tree
powerpc/vio: Switch VIO Bus PM to use generic helpers
powerpc: Avoid bad relocations in iSeries code
powerpc: Use common cpu_die (fixes SMP+SUSPEND build)
...
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, |