Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 196675
b: refs/heads/master
c: 99ec28f
h: refs/heads/master
i:
  196673: 1f6acf3
  196671: 0cd373e
v: v3
  • Loading branch information
FUJITA Tomonori authored and Benjamin Herrenschmidt committed May 21, 2010
1 parent 0d0e04e commit 1ad656a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 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: 40a5a4435f37b172dec09852ad2036865f9ca3c8
refs/heads/master: 99ec28f183daa450faa7bdad6f932364ae325648
12 changes: 0 additions & 12 deletions trunk/arch/powerpc/kernel/iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,9 @@
#define DBG(...)

static int novmerge;
static int protect4gb = 1;

static void __iommu_free(struct iommu_table *, dma_addr_t, unsigned int);

static int __init setup_protect4gb(char *str)
{
if (strcmp(str, "on") == 0)
protect4gb = 1;
else if (strcmp(str, "off") == 0)
protect4gb = 0;

return 1;
}

static int __init setup_iommu(char *str)
{
if (!strcmp(str, "novmerge"))
Expand All @@ -66,7 +55,6 @@ static int __init setup_iommu(char *str)
return 1;
}

__setup("protect4gb=", setup_protect4gb);
__setup("iommu=", setup_iommu);

static unsigned long iommu_range_alloc(struct device *dev,
Expand Down

0 comments on commit 1ad656a

Please sign in to comment.