Skip to content

Commit

Permalink
m68knommu: move EXPORT of kernel_thread to function definition
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Ungerer committed May 24, 2011
1 parent b33972e commit dcc4d72
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions arch/m68k/kernel/m68k_ksyms_no.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions arch/m68k/kernel/process_no.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit dcc4d72

Please sign in to comment.