m68knommu: move EXPORT of kernel_thread to function definition
authorGreg Ungerer <gerg@uclinux.org>
Tue, 29 Mar 2011 04:14:21 +0000 (14:14 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Tue, 24 May 2011 00:03:51 +0000 (10:03 +1000)
The EXPORT_SYMBOL(kernel_thread) belongs at the definition of that function,
not in some other random code file. So move it there.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68k/kernel/m68k_ksyms_no.c
arch/m68k/kernel/process_no.c

index daed9326c4f1e67f922402648eb79bbcf5487b51..11effaa6d15806c3b7179d04c1eea3fab6d847c3 100644 (file)
 #include <asm/checksum.h>
 #include <asm/current.h>
 
-/* platform dependent support */
-
-EXPORT_SYMBOL(kernel_thread);
-
 /*
  * libgcc functions - functions that are used internally by the
  * compiler...  (prototypes are not correct though, but that
index eedadc2ff98a14cea24ca60bb379ace4180ef2ce..9b86ad11c68e38bca9566ca3911ffff471c2cc5a 100644 (file)
@@ -151,6 +151,7 @@ int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags)
        set_fs(fs);
        return retval;
 }
+EXPORT_SYMBOL(kernel_thread);
 
 void flush_thread(void)
 {