Commit ee4bcdf1 authored by Michal Simek's avatar Michal Simek

microblaze: export assembly functions used by modules

Export __strncpy_user, memory_size, ioremap_bot for modules.
Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent 1ce2470a
...@@ -57,6 +57,7 @@ EXPORT_SYMBOL(_mcount); ...@@ -57,6 +57,7 @@ EXPORT_SYMBOL(_mcount);
* Assembly functions that may be used (directly or indirectly) by modules * Assembly functions that may be used (directly or indirectly) by modules
*/ */
EXPORT_SYMBOL(__copy_tofrom_user); EXPORT_SYMBOL(__copy_tofrom_user);
EXPORT_SYMBOL(__strncpy_user);
#ifdef CONFIG_OPT_LIB_ASM #ifdef CONFIG_OPT_LIB_ASM
EXPORT_SYMBOL(memcpy); EXPORT_SYMBOL(memcpy);
......
...@@ -47,6 +47,7 @@ unsigned long memory_start; ...@@ -47,6 +47,7 @@ unsigned long memory_start;
EXPORT_SYMBOL(memory_start); EXPORT_SYMBOL(memory_start);
unsigned long memory_end; /* due to mm/nommu.c */ unsigned long memory_end; /* due to mm/nommu.c */
unsigned long memory_size; unsigned long memory_size;
EXPORT_SYMBOL(memory_size);
/* /*
* paging_init() sets up the page tables - in fact we've already done this. * paging_init() sets up the page tables - in fact we've already done this.
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
unsigned long ioremap_base; unsigned long ioremap_base;
unsigned long ioremap_bot; unsigned long ioremap_bot;
EXPORT_SYMBOL(ioremap_bot);
/* The maximum lowmem defaults to 768Mb, but this can be configured to /* The maximum lowmem defaults to 768Mb, but this can be configured to
* another value. * another value.
......
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