[parisc-linux] [PATCH] parisc: fix module_param iommu permission

Randy Dunlap randy.dunlap at oracle.com
Mon Oct 23 21:01:25 MDT 2006


From: Randy Dunlap <randy.dunlap at oracle.com>

Fix/change module_param permissions parameter from an init value
to a permission value.

Signed-off-by: Randy Dunlap <randy.dunlap at oracle.com>
---
 drivers/parisc/sba_iommu.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.19-rc2-git8.orig/drivers/parisc/sba_iommu.c
+++ linux-2.6.19-rc2-git8/drivers/parisc/sba_iommu.c
@@ -109,7 +109,7 @@ static unsigned long piranha_bad_128k = 
 
 #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
 


---



More information about the parisc-linux mailing list