Browse Source

m68knommu: move EXPORT of kernel_thread to function definition

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>
Greg Ungerer 14 years ago
parent
commit
dcc4d72fad
2 changed files with 1 additions and 4 deletions
  1. 0 4
      arch/m68k/kernel/m68k_ksyms_no.c
  2. 1 0
      arch/m68k/kernel/process_no.c

+ 0 - 4
arch/m68k/kernel/m68k_ksyms_no.c

@@ -16,10 +16,6 @@
 #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

+ 1 - 0
arch/m68k/kernel/process_no.c

@@ -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)
 {