提交 7fc7228c 编写于 作者: D David Howells 提交者: Linus Torvalds

mn10300: export certain arch symbols required to build allmodconfig

Export kernel_thread() and empty_zero_page so that allmodconfig can be
built for MN10300.
Signed-off-by: NDavid Howells <dhowells@redhat.com>
Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 292d7355
...@@ -10,8 +10,11 @@ ...@@ -10,8 +10,11 @@
*/ */
#include <linux/module.h> #include <linux/module.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <asm/pgtable.h>
EXPORT_SYMBOL(empty_zero_page);
EXPORT_SYMBOL(change_bit); EXPORT_SYMBOL(change_bit);
EXPORT_SYMBOL(test_and_change_bit); EXPORT_SYMBOL(test_and_change_bit);
......
...@@ -153,6 +153,7 @@ int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags) ...@@ -153,6 +153,7 @@ int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags)
return do_fork(flags | CLONE_VM | CLONE_UNTRACED, 0, &regs, 0, return do_fork(flags | CLONE_VM | CLONE_UNTRACED, 0, &regs, 0,
NULL, NULL); NULL, NULL);
} }
EXPORT_SYMBOL(kernel_thread);
/* /*
* free current thread data structures etc.. * free current thread data structures etc..
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册