aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2007-02-05 16:33:59 -0800
committerKyle McMartin <kyle@athena.road.mcmartin.ca>2007-02-08 18:56:34 -0500
commit29a1e1d2732c7bfa94465749285aea0f2ed12213 (patch)
tree3ef0afb2ad05aa0cbb9caec068b3460f2046789d
parentf41464fd84463dee89d53750cb74f6be30b31620 (diff)
[PATCH] parisc: fix module_param iommu permission
Fix/change module_param permissions parameter from an init value to a permission value. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Kyle McMartin <kyle@mcmartin.ca> Cc: Matthew Wilcox <willy@debian.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r--drivers/parisc/sba_iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/parisc/sba_iommu.c b/drivers/parisc/sba_iommu.c
index 41abbed51ea..26fece45e73 100644
--- a/drivers/parisc/sba_iommu.c
+++ b/drivers/parisc/sba_iommu.c
@@ -109,7 +109,7 @@ static unsigned long piranha_bad_128k = 0;
#ifdef SBA_AGP_SUPPORT
static int sba_reserve_agpgart = 1;
-module_param(sba_reserve_agpgart, int, 1);
+module_param(sba_reserve_agpgart, int, 0444);
MODULE_PARM_DESC(sba_reserve_agpgart, "Reserve half of IO pdir as AGPGART");
#endif