aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-03-29 00:14:21 -0400
committerGreg Ungerer <gerg@uclinux.org>2011-05-23 20:03:51 -0400
commitdcc4d72fad84adcd98cb0a552f4287c1ed06d5d6 (patch)
tree52e42d2f08a40b4074cf67498ea1ff259b95480f /arch
parentb33972eb476401637c345b6eb91969b2df7e1ec0 (diff)
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/m68k/kernel/m68k_ksyms_no.c4
-rw-r--r--arch/m68k/kernel/process_no.c1
2 files changed, 1 insertions, 4 deletions
diff --git a/arch/m68k/kernel/m68k_ksyms_no.c b/arch/m68k/kernel/m68k_ksyms_no.c
index daed9326c4f1..11effaa6d158 100644
--- a/arch/m68k/kernel/m68k_ksyms_no.c
+++ b/arch/m68k/kernel/m68k_ksyms_no.c
@@ -16,10 +16,6 @@
16#include <asm/checksum.h> 16#include <asm/checksum.h>
17#include <asm/current.h> 17#include <asm/current.h>
18 18
19/* platform dependent support */
20
21EXPORT_SYMBOL(kernel_thread);
22
23/* 19/*
24 * libgcc functions - functions that are used internally by the 20 * libgcc functions - functions that are used internally by the
25 * compiler... (prototypes are not correct though, but that 21 * compiler... (prototypes are not correct though, but that
diff --git a/arch/m68k/kernel/process_no.c b/arch/m68k/kernel/process_no.c
index eedadc2ff98a..9b86ad11c68e 100644
--- a/arch/m68k/kernel/process_no.c
+++ b/arch/m68k/kernel/process_no.c
@@ -151,6 +151,7 @@ int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags)
151 set_fs(fs); 151 set_fs(fs);
152 return retval; 152 return retval;
153} 153}
154EXPORT_SYMBOL(kernel_thread);
154 155
155void flush_thread(void) 156void flush_thread(void)
156{ 157{