Skip to content

Commit

Permalink
m68knommu: move EXPORT of dump_fpu to function definition
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Ungerer committed May 24, 2011
1 parent b1ffa25 commit 67cc09e
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,12 +16,8 @@
#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);
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 @@ -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.
Expand Down

0 comments on commit 67cc09e

Please sign in to comment.