aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/kernel
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@uclinux.org>2011-03-29 00:03:26 -0400
committerGreg Ungerer <gerg@uclinux.org>2011-05-23 20:03:51 -0400
commit67cc09ed7093f49fc776164761507999991a6ef6 (patch)
tree332743b4a1cbb7ec3bd1c37fca15ca09ee1325c7 /arch/m68k/kernel
parentb1ffa25925c8166003d985b2803854fedcd44604 (diff)
m68knommu: move EXPORT of dump_fpu to function definition
The EXPORT_SYMBOL(dump_fpu) belongs at the definition of the function, not in some other random code file. So move it there. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k/kernel')
-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 c26717bcf306..ab747e477131 100644
--- a/arch/m68k/kernel/m68k_ksyms_no.c
+++ b/arch/m68k/kernel/m68k_ksyms_no.c
@@ -16,12 +16,8 @@
16#include <asm/checksum.h> 16#include <asm/checksum.h>
17#include <asm/current.h> 17#include <asm/current.h>
18 18
19extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
20
21/* platform dependent support */ 19/* platform dependent support */
22 20
23EXPORT_SYMBOL(dump_fpu);
24
25EXPORT_SYMBOL(ip_fast_csum); 21EXPORT_SYMBOL(ip_fast_csum);
26 22
27EXPORT_SYMBOL(kernel_thread); 23EXPORT_SYMBOL(kernel_thread);
diff --git a/arch/m68k/kernel/process_no.c b/arch/m68k/kernel/process_no.c
index e2a63af5d517..eedadc2ff98a 100644
--- a/arch/m68k/kernel/process_no.c
+++ b/arch/m68k/kernel/process_no.c
@@ -283,6 +283,7 @@ int dump_fpu(struct pt_regs *regs, struct user_m68kfp_struct *fpu)
283#endif 283#endif
284 return 1; 284 return 1;
285} 285}
286EXPORT_SYMBOL(dump_fpu);
286 287
287/* 288/*
288 * Generic dumping code. Used for panic and debug. 289 * Generic dumping code. Used for panic and debug.