microblaze: export some symbols
Some device drivers require the symbols _ebss, kernel_thread, __page_offset or ___range_ok, so export them. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <monstr@monstr.eu>
This commit is contained in:
parent
6fa612b56c
commit
5af7fa6810
3 changed files with 5 additions and 1 deletions
|
@ -45,3 +45,5 @@ extern void __udivsi3(void);
|
||||||
EXPORT_SYMBOL(__udivsi3);
|
EXPORT_SYMBOL(__udivsi3);
|
||||||
extern void __umodsi3(void);
|
extern void __umodsi3(void);
|
||||||
EXPORT_SYMBOL(__umodsi3);
|
EXPORT_SYMBOL(__umodsi3);
|
||||||
|
extern char *_ebss;
|
||||||
|
EXPORT_SYMBOL_GPL(_ebss);
|
||||||
|
|
|
@ -173,6 +173,7 @@ int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags)
|
||||||
return do_fork(flags | CLONE_VM | CLONE_UNTRACED, 0,
|
return do_fork(flags | CLONE_VM | CLONE_UNTRACED, 0,
|
||||||
®s, 0, NULL, NULL);
|
®s, 0, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(kernel_thread);
|
||||||
|
|
||||||
unsigned long get_wchan(struct task_struct *p)
|
unsigned long get_wchan(struct task_struct *p)
|
||||||
{
|
{
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#include <asm/tlb.h>
|
#include <asm/tlb.h>
|
||||||
|
|
||||||
unsigned int __page_offset;
|
unsigned int __page_offset;
|
||||||
/* EXPORT_SYMBOL(__page_offset); */
|
EXPORT_SYMBOL(__page_offset);
|
||||||
|
|
||||||
char *klimit = _end;
|
char *klimit = _end;
|
||||||
|
|
||||||
|
@ -199,3 +199,4 @@ int ___range_ok(unsigned long addr, unsigned long size)
|
||||||
return ((addr < memory_start) ||
|
return ((addr < memory_start) ||
|
||||||
((addr + size) > memory_end));
|
((addr + size) > memory_end));
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL(___range_ok);
|
||||||
|
|
Loading…
Reference in a new issue