powerpc: Move agp_special_page export to where it is defined

... instead of exporting it in arch/*/kernel/ppc_ksyms.c.

Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Paul Mackerras 2005-10-22 14:42:51 +10:00
parent 05d84681ab
commit 5c8c56ebdf
4 changed files with 2 additions and 8 deletions

View File

@ -274,10 +274,6 @@ EXPORT_SYMBOL(mmu_hash_lock); /* For MOL */
extern long *intercept_table; extern long *intercept_table;
EXPORT_SYMBOL(intercept_table); EXPORT_SYMBOL(intercept_table);
#endif /* CONFIG_PPC_STD_MMU_32 */ #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) #if defined(CONFIG_40x) || defined(CONFIG_BOOKE)
EXPORT_SYMBOL(__mtdcr); EXPORT_SYMBOL(__mtdcr);
EXPORT_SYMBOL(__mfdcr); EXPORT_SYMBOL(__mfdcr);

View File

@ -69,6 +69,7 @@ unsigned long ppc_memoffset = PAGE_OFFSET;
int boot_mapsize; int boot_mapsize;
#ifdef CONFIG_PPC_PMAC #ifdef CONFIG_PPC_PMAC
unsigned long agp_special_page; unsigned long agp_special_page;
EXPORT_SYMBOL(agp_special_page);
#endif #endif
#ifdef CONFIG_HIGHMEM #ifdef CONFIG_HIGHMEM

View File

@ -323,10 +323,6 @@ extern long *intercept_table;
EXPORT_SYMBOL(intercept_table); EXPORT_SYMBOL(intercept_table);
#endif /* CONFIG_PPC_STD_MMU */ #endif /* CONFIG_PPC_STD_MMU */
EXPORT_SYMBOL(cur_cpu_spec); 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) #if defined(CONFIG_40x) || defined(CONFIG_BOOKE)
EXPORT_SYMBOL(__mtdcr); EXPORT_SYMBOL(__mtdcr);
EXPORT_SYMBOL(__mfdcr); EXPORT_SYMBOL(__mfdcr);

View File

@ -69,6 +69,7 @@ int init_bootmem_done;
int boot_mapsize; int boot_mapsize;
#ifdef CONFIG_PPC_PMAC #ifdef CONFIG_PPC_PMAC
unsigned long agp_special_page; unsigned long agp_special_page;
EXPORT_SYMBOL(agp_special_page);
#endif #endif
extern char _end[]; extern char _end[];