提交 29a1e1d2 编写于 作者: R Randy Dunlap 提交者: Kyle McMartin

[PATCH] parisc: fix module_param iommu permission

Fix/change module_param permissions parameter from an init value
to a permission value.
Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Matthew Wilcox <willy@debian.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
上级 f41464fd
...@@ -109,7 +109,7 @@ static unsigned long piranha_bad_128k = 0; ...@@ -109,7 +109,7 @@ static unsigned long piranha_bad_128k = 0;
#ifdef SBA_AGP_SUPPORT #ifdef SBA_AGP_SUPPORT
static int sba_reserve_agpgart = 1; 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"); MODULE_PARM_DESC(sba_reserve_agpgart, "Reserve half of IO pdir as AGPGART");
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册