MIPS: Export _save_fp & _save_msa alongside their definitions
Now that EXPORT_SYMBOL can be used from assembly source, move the EXPORT_SYMBOL invocations for _save_fp & _save_msa to be alongside their definitions. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/14509/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
08889582b8
commit
29830c124d
@@ -12,6 +12,7 @@
|
||||
*/
|
||||
#include <asm/asm.h>
|
||||
#include <asm/cachectl.h>
|
||||
#include <asm/export.h>
|
||||
#include <asm/fpregdef.h>
|
||||
#include <asm/mipsregs.h>
|
||||
#include <asm/asm-offsets.h>
|
||||
@@ -72,6 +73,7 @@ LEAF(resume)
|
||||
* Save a thread's fp context.
|
||||
*/
|
||||
LEAF(_save_fp)
|
||||
EXPORT_SYMBOL(_save_fp)
|
||||
fpu_save_single a0, t1 # clobbers t1
|
||||
jr ra
|
||||
END(_save_fp)
|
||||
|
||||
Reference in New Issue
Block a user