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 setup.c into setup.c
Signed-off-by: James Hogan <james.hogan@imgtec.com>
#include <linux/interrupt.h>
#include <linux/hardirq.h>
-#include <asm/setup.h>
#include <asm/checksum.h>
#include <asm/uaccess.h>
-#include <asm/traps.h>
#include <asm/ftrace.h>
#include <asm/tbx.h>
EXPORT_SYMBOL(strnlen_user);
EXPORT_SYMBOL(__do_clear_user);
-EXPORT_SYMBOL(pTBI_get);
-EXPORT_SYMBOL(meta_memoffset);
-
EXPORT_SYMBOL(clear_page);
EXPORT_SYMBOL(copy_page);
EXPORT_SYMBOL(empty_zero_page);
*
*/
+#include <linux/export.h>
#include <linux/bootmem.h>
#include <linux/console.h>
#include <linux/cpu.h>
* probably only be used via them.
*/
unsigned int meta_memoffset;
+EXPORT_SYMBOL(meta_memoffset);
static char __initdata *original_cmd_line;
{
return per_cpu(pTBI, cpu);
}
+EXPORT_SYMBOL(pTBI_get);
#if defined(CONFIG_METAG_DSP) && defined(CONFIG_METAG_FPU)
char capabilites[] = "dsp fpu";