]> Pileus Git - ~andy/linux/commitdiff
m68knommu: move EXPORT of dump_fpu to function definition
authorGreg Ungerer <gerg@uclinux.org>
Tue, 29 Mar 2011 04:03:26 +0000 (14:03 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Tue, 24 May 2011 00:03:51 +0000 (10:03 +1000)
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>
arch/m68k/kernel/m68k_ksyms_no.c
arch/m68k/kernel/process_no.c

index c26717bcf306d54dca757799f9107db478a838aa..ab747e4771318fdf73eb6954dbf98693f37018e2 100644 (file)
 #include <asm/checksum.h>
 #include <asm/current.h>
 
-extern int dump_fpu(struct pt_regs *, elf_fpregset_t *);
-
 /* platform dependent support */
 
-EXPORT_SYMBOL(dump_fpu);
-
 EXPORT_SYMBOL(ip_fast_csum);
 
 EXPORT_SYMBOL(kernel_thread);
index e2a63af5d517510820cfa9085d46b08bcd403f46..eedadc2ff98a14cea24ca60bb379ace4180ef2ce 100644 (file)
@@ -283,6 +283,7 @@ int dump_fpu(struct pt_regs *regs, struct user_m68kfp_struct *fpu)
 #endif
        return 1;
 }
+EXPORT_SYMBOL(dump_fpu);
 
 /*
  *     Generic dumping code. Used for panic and debug.