Commit 44c24510 authored by James Hogan's avatar James Hogan

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: default avatarJames Hogan <james.hogan@imgtec.com>
parent 9da3ee9a
...@@ -11,9 +11,7 @@ ...@@ -11,9 +11,7 @@
EXPORT_SYMBOL(clear_page); EXPORT_SYMBOL(clear_page);
EXPORT_SYMBOL(copy_page); EXPORT_SYMBOL(copy_page);
EXPORT_SYMBOL(empty_zero_page);
EXPORT_SYMBOL(pfn_base);
#ifdef CONFIG_FLATMEM #ifdef CONFIG_FLATMEM
/* needed for the pfn_valid macro */ /* needed for the pfn_valid macro */
EXPORT_SYMBOL(max_pfn); EXPORT_SYMBOL(max_pfn);
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
* *
*/ */
#include <linux/export.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/swap.h> #include <linux/swap.h>
#include <linux/init.h> #include <linux/init.h>
...@@ -25,10 +26,12 @@ ...@@ -25,10 +26,12 @@
#include <asm/fixmap.h> #include <asm/fixmap.h>
unsigned long pfn_base; unsigned long pfn_base;
EXPORT_SYMBOL(pfn_base);
pgd_t swapper_pg_dir[PTRS_PER_PGD] __page_aligned_data; pgd_t swapper_pg_dir[PTRS_PER_PGD] __page_aligned_data;
unsigned long empty_zero_page; unsigned long empty_zero_page;
EXPORT_SYMBOL(empty_zero_page);
extern char __user_gateway_start; extern char __user_gateway_start;
extern char __user_gateway_end; extern char __user_gateway_end;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment