powerpc: Move agp_special_page export to where it is defined
authorPaul Mackerras <paulus@samba.org>
Sat, 22 Oct 2005 04:42:51 +0000 (14:42 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 22 Oct 2005 04:42:51 +0000 (14:42 +1000)
... instead of exporting it in arch/*/kernel/ppc_ksyms.c.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/ppc_ksyms.c
arch/powerpc/mm/init_32.c
arch/ppc/kernel/ppc_ksyms.c
arch/ppc/mm/init.c

index 40c9e67e1b281bd034945b93de32fe51ff0b4e8c..254bf9c0b5bb946b388ddd470e37f50162d96807 100644 (file)
@@ -274,10 +274,6 @@ EXPORT_SYMBOL(mmu_hash_lock); /* For MOL */
 extern long *intercept_table;
 EXPORT_SYMBOL(intercept_table);
 #endif /* CONFIG_PPC_STD_MMU_32 */
-#ifdef CONFIG_PPC_PMAC
-extern unsigned long agp_special_page;
-EXPORT_SYMBOL(agp_special_page);
-#endif
 #if defined(CONFIG_40x) || defined(CONFIG_BOOKE)
 EXPORT_SYMBOL(__mtdcr);
 EXPORT_SYMBOL(__mfdcr);
index caeb02ee72c590e88d3329e11c54065aeea3a745..aa6a5440cec1c3c4138e101750f6072a4d18837c 100644 (file)
@@ -69,6 +69,7 @@ unsigned long ppc_memoffset = PAGE_OFFSET;
 int boot_mapsize;
 #ifdef CONFIG_PPC_PMAC
 unsigned long agp_special_page;
+EXPORT_SYMBOL(agp_special_page);
 #endif
 
 #ifdef CONFIG_HIGHMEM
index f4373fb9181f744c79ce4c91af5277af6a878ed6..dcc83440f203277045f94ab4ba5b0d4f9b7063b5 100644 (file)
@@ -323,10 +323,6 @@ extern long *intercept_table;
 EXPORT_SYMBOL(intercept_table);
 #endif /* CONFIG_PPC_STD_MMU */
 EXPORT_SYMBOL(cur_cpu_spec);
-#ifdef CONFIG_PPC_PMAC
-extern unsigned long agp_special_page;
-EXPORT_SYMBOL(agp_special_page);
-#endif
 #if defined(CONFIG_40x) || defined(CONFIG_BOOKE)
 EXPORT_SYMBOL(__mtdcr);
 EXPORT_SYMBOL(__mfdcr);
index 5e9ef23b467193a177f8212413eb2add64f56460..db94efd253692890443aed18d09f145c8199e88e 100644 (file)
@@ -69,6 +69,7 @@ int init_bootmem_done;
 int boot_mapsize;
 #ifdef CONFIG_PPC_PMAC
 unsigned long agp_special_page;
+EXPORT_SYMBOL(agp_special_page);
 #endif
 
 extern char _end[];