浏览代码

[SPARC64]: Export _PAGE_E and _PAGE_CACHE to modules.

SBUS flash driver needs it.

Noticed by Fabbione.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 19 年之前
父节点
当前提交
b2bef4424c
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      arch/sparc64/mm/init.c

+ 4 - 0
arch/sparc64/mm/init.c

@@ -1423,8 +1423,12 @@ pgprot_t PAGE_EXEC __read_mostly;
 unsigned long pg_iobits __read_mostly;
 
 unsigned long _PAGE_IE __read_mostly;
+
 unsigned long _PAGE_E __read_mostly;
+EXPORT_SYMBOL(_PAGE_E);
+
 unsigned long _PAGE_CACHE __read_mostly;
+EXPORT_SYMBOL(_PAGE_CACHE);
 
 static void prot_init_common(unsigned long page_none,
 			     unsigned long page_shared,