diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-22 00:42:51 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-22 00:42:51 -0400 |
commit | 5c8c56ebdfb290e4feaac406518903f58714d874 (patch) | |
tree | 424ca8975f59d4bb8daa985fc769f10c34a5e87a /arch | |
parent | 05d84681abcb33fe34accb5982c413daeb4208c4 (diff) |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/ppc_ksyms.c | 4 | ||||
-rw-r--r-- | arch/powerpc/mm/init_32.c | 1 | ||||
-rw-r--r-- | arch/ppc/kernel/ppc_ksyms.c | 4 | ||||
-rw-r--r-- | arch/ppc/mm/init.c | 1 |
4 files changed, 2 insertions, 8 deletions
diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c index 40c9e67e1b28..254bf9c0b5bb 100644 --- a/arch/powerpc/kernel/ppc_ksyms.c +++ b/arch/powerpc/kernel/ppc_ksyms.c | |||
@@ -274,10 +274,6 @@ EXPORT_SYMBOL(mmu_hash_lock); /* For MOL */ | |||
274 | extern long *intercept_table; | 274 | extern long *intercept_table; |
275 | EXPORT_SYMBOL(intercept_table); | 275 | EXPORT_SYMBOL(intercept_table); |
276 | #endif /* CONFIG_PPC_STD_MMU_32 */ | 276 | #endif /* CONFIG_PPC_STD_MMU_32 */ |
277 | #ifdef CONFIG_PPC_PMAC | ||
278 | extern unsigned long agp_special_page; | ||
279 | EXPORT_SYMBOL(agp_special_page); | ||
280 | #endif | ||
281 | #if defined(CONFIG_40x) || defined(CONFIG_BOOKE) | 277 | #if defined(CONFIG_40x) || defined(CONFIG_BOOKE) |
282 | EXPORT_SYMBOL(__mtdcr); | 278 | EXPORT_SYMBOL(__mtdcr); |
283 | EXPORT_SYMBOL(__mfdcr); | 279 | EXPORT_SYMBOL(__mfdcr); |
diff --git a/arch/powerpc/mm/init_32.c b/arch/powerpc/mm/init_32.c index caeb02ee72c5..aa6a5440cec1 100644 --- a/arch/powerpc/mm/init_32.c +++ b/arch/powerpc/mm/init_32.c | |||
@@ -69,6 +69,7 @@ unsigned long ppc_memoffset = PAGE_OFFSET; | |||
69 | int boot_mapsize; | 69 | int boot_mapsize; |
70 | #ifdef CONFIG_PPC_PMAC | 70 | #ifdef CONFIG_PPC_PMAC |
71 | unsigned long agp_special_page; | 71 | unsigned long agp_special_page; |
72 | EXPORT_SYMBOL(agp_special_page); | ||
72 | #endif | 73 | #endif |
73 | 74 | ||
74 | #ifdef CONFIG_HIGHMEM | 75 | #ifdef CONFIG_HIGHMEM |
diff --git a/arch/ppc/kernel/ppc_ksyms.c b/arch/ppc/kernel/ppc_ksyms.c index f4373fb9181f..dcc83440f203 100644 --- a/arch/ppc/kernel/ppc_ksyms.c +++ b/arch/ppc/kernel/ppc_ksyms.c | |||
@@ -323,10 +323,6 @@ extern long *intercept_table; | |||
323 | EXPORT_SYMBOL(intercept_table); | 323 | EXPORT_SYMBOL(intercept_table); |
324 | #endif /* CONFIG_PPC_STD_MMU */ | 324 | #endif /* CONFIG_PPC_STD_MMU */ |
325 | EXPORT_SYMBOL(cur_cpu_spec); | 325 | EXPORT_SYMBOL(cur_cpu_spec); |
326 | #ifdef CONFIG_PPC_PMAC | ||
327 | extern unsigned long agp_special_page; | ||
328 | EXPORT_SYMBOL(agp_special_page); | ||
329 | #endif | ||
330 | #if defined(CONFIG_40x) || defined(CONFIG_BOOKE) | 326 | #if defined(CONFIG_40x) || defined(CONFIG_BOOKE) |
331 | EXPORT_SYMBOL(__mtdcr); | 327 | EXPORT_SYMBOL(__mtdcr); |
332 | EXPORT_SYMBOL(__mfdcr); | 328 | EXPORT_SYMBOL(__mfdcr); |
diff --git a/arch/ppc/mm/init.c b/arch/ppc/mm/init.c index 5e9ef23b4671..db94efd25369 100644 --- a/arch/ppc/mm/init.c +++ b/arch/ppc/mm/init.c | |||
@@ -69,6 +69,7 @@ int init_bootmem_done; | |||
69 | int boot_mapsize; | 69 | int boot_mapsize; |
70 | #ifdef CONFIG_PPC_PMAC | 70 | #ifdef CONFIG_PPC_PMAC |
71 | unsigned long agp_special_page; | 71 | unsigned long agp_special_page; |
72 | EXPORT_SYMBOL(agp_special_page); | ||
72 | #endif | 73 | #endif |
73 | 74 | ||
74 | extern char _end[]; | 75 | extern char _end[]; |