mn10300: export certain arch symbols required to build allmodconfig
authorDavid Howells <dhowells@redhat.com>
Fri, 4 Jul 2008 16:59:46 +0000 (09:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Jul 2008 17:40:07 +0000 (10:40 -0700)
Export kernel_thread() and empty_zero_page so that allmodconfig can be
built for MN10300.

Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mn10300/kernel/mn10300_ksyms.c
arch/mn10300/kernel/process.c

index 6d19628634e3a0fb5635d6a4f2e959c16a2b5c47..544ee1ae8c41c384b16c22541840f8c74569b0a2 100644 (file)
  */
 #include <linux/module.h>
 #include <asm/uaccess.h>
+#include <asm/pgtable.h>
 
 
+EXPORT_SYMBOL(empty_zero_page);
+
 EXPORT_SYMBOL(change_bit);
 EXPORT_SYMBOL(test_and_change_bit);
 
index 9c623c88387bbb4ee844c39f43513398131588b5..b28c9a60445bda4df1f4f83de51346b121e36067 100644 (file)
@@ -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,
                       NULL, NULL);
 }
+EXPORT_SYMBOL(kernel_thread);
 
 /*
  * free current thread data structures etc..