From 44c2451080ab3896688c852253814f5eabb2ecce Mon Sep 17 00:00:00 2001 From: James Hogan Date: Wed, 13 Feb 2013 13:19:15 +0000 Subject: metag: move mm/init.c exports out of metag_ksyms.c It's less error prone to have function symbols exported immediately after the function rather than in metag_ksyms.c. Move each EXPORT_SYMBOL in metag_ksyms.c for symbols defined in mm/init.c into mm/init.c. Signed-off-by: James Hogan --- arch/metag/kernel/metag_ksyms.c | 2 -- arch/metag/mm/init.c | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'arch/metag') diff --git a/arch/metag/kernel/metag_ksyms.c b/arch/metag/kernel/metag_ksyms.c index 3d60cf31e264..87e47769bfe6 100644 --- a/arch/metag/kernel/metag_ksyms.c +++ b/arch/metag/kernel/metag_ksyms.c @@ -11,9 +11,7 @@ EXPORT_SYMBOL(clear_page); EXPORT_SYMBOL(copy_page); -EXPORT_SYMBOL(empty_zero_page); -EXPORT_SYMBOL(pfn_base); #ifdef CONFIG_FLATMEM /* needed for the pfn_valid macro */ EXPORT_SYMBOL(max_pfn); diff --git a/arch/metag/mm/init.c b/arch/metag/mm/init.c index 514376d90db4..504a398d5f8b 100644 --- a/arch/metag/mm/init.c +++ b/arch/metag/mm/init.c @@ -3,6 +3,7 @@ * */ +#include #include #include #include @@ -25,10 +26,12 @@ #include unsigned long pfn_base; +EXPORT_SYMBOL(pfn_base); pgd_t swapper_pg_dir[PTRS_PER_PGD] __page_aligned_data; unsigned long empty_zero_page; +EXPORT_SYMBOL(empty_zero_page); extern char __user_gateway_start; extern char __user_gateway_end; -- cgit v1.2.3