aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/parisc
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 /drivers/parisc
parentf41464fd84463dee89d53750cb74f6be30b31620 (diff)
downloadkernel_samsung_smdk4412-29a1e1d2732c7bfa94465749285aea0f2ed12213.zip
kernel_samsung_smdk4412-29a1e1d2732c7bfa94465749285aea0f2ed12213.tar.gz
kernel_samsung_smdk4412-29a1e1d2732c7bfa94465749285aea0f2ed12213.tar.bz2
[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>
Diffstat (limited to 'drivers/parisc')
-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 41abbed..26fece4 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