From: Greg Ungerer <gerg@uclinux.org>
To: linux-m68k@vger.kernel.org
Cc: Greg Ungerer <gerg@uclinux.org>
Subject: [PATCH 3/5] m68knommu: move EXPORT of kernel_thread to function definition
Date: Fri, 8 Apr 2011 22:17:00 +1000 [thread overview]
Message-ID: <1302265022-6614-4-git-send-email-gerg@uclinux.org> (raw)
In-Reply-To: <1302265022-6614-3-git-send-email-gerg@uclinux.org>
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 | 4 ----
arch/m68k/kernel/process_no.c | 1 +
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 daed932..11effaa 100644
--- a/arch/m68k/kernel/m68k_ksyms_no.c
+++ b/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
diff --git a/arch/m68k/kernel/process_no.c b/arch/m68k/kernel/process_no.c
index eedadc2..9b86ad1 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)
set_fs(fs);
return retval;
}
+EXPORT_SYMBOL(kernel_thread);
void flush_thread(void)
{
--
1.7.0.4
next prev parent reply other threads:[~2011-04-08 12:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-08 12:16 [PATCH 0/5] m68k: merge mmu and non-mmu kernel/m68k_ksyms.c files Greg Ungerer
2011-04-08 12:16 ` [PATCH 1/5] m68knommu: move EXPORT of dump_fpu to function definition Greg Ungerer
2011-04-08 12:16 ` [PATCH 2/5] m68knommu: move EXPORT of local checksumming functions to definitions Greg Ungerer
2011-04-08 12:17 ` Greg Ungerer [this message]
2011-04-08 12:17 ` [PATCH 4/5] m68knommu: remove un-needed exporting of COLDFIRE symbols Greg Ungerer
2011-04-08 12:17 ` [PATCH 5/5] m68k: merge non-mmu and mmu versions of m68k_ksyms.c Greg Ungerer
-- strict thread matches above, loose matches on Subject: below --
2011-04-21 0:48 [PATCH 0/5] m68k: merge and clean up of arch/m68k/kernel/m68k_ksyms*.c files gerg
2011-04-21 0:48 ` [PATCH 1/5] m68knommu: move EXPORT of dump_fpu to function definition gerg
2011-04-21 0:48 ` [PATCH 2/5] m68knommu: move EXPORT of local checksumming functions to definitions gerg
2011-04-21 0:48 ` [PATCH 3/5] m68knommu: move EXPORT of kernel_thread to function definition gerg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1302265022-6614-4-git-send-email-gerg@uclinux.org \
--to=gerg@uclinux.org \
--cc=linux-m68k@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox