summaryrefslogtreecommitdiff
path: root/arch/mips/mm/tlb-funcs.S
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2018-08-11 01:24:39 +0300
committerPaul Burton <paul.burton@mips.com>2018-08-11 03:27:51 +0300
commitb29fea3676033c48a1145b075b3e88c785271f70 (patch)
tree6d1dcded9c75fae648aa8f2c410123f556e0268f /arch/mips/mm/tlb-funcs.S
parent22f20a110321efb7cde3e87ae99862e1036ca285 (diff)
downloadlinux-b29fea3676033c48a1145b075b3e88c785271f70.tar.xz
MIPS: Export tlbmiss_handler_setup_pgd near its definition
We export tlbmiss_handler_setup_pgd in arch/mips/mm/tlbex.c close to a declaration of it, rather than close to its definition as is standard. We've supported exporting symbols in assembly code since commit 22823ab419d8 ("EXPORT_SYMBOL() for asm"), so move the export to follow the function's (stub) definition. Signed-off-by: Paul Burton <paul.burton@mips.com>
Diffstat (limited to 'arch/mips/mm/tlb-funcs.S')
-rw-r--r--arch/mips/mm/tlb-funcs.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/mm/tlb-funcs.S b/arch/mips/mm/tlb-funcs.S
index a5427c6e9757..ae34361b6060 100644
--- a/arch/mips/mm/tlb-funcs.S
+++ b/arch/mips/mm/tlb-funcs.S
@@ -12,6 +12,7 @@
* Copyright (C) 2012 Ralf Baechle <ralf@linux-mips.org>
*/
#include <asm/asm.h>
+#include <asm/export.h>
#include <asm/regdef.h>
#define FASTPATH_SIZE 128
@@ -22,6 +23,7 @@ LEAF(tlbmiss_handler_setup_pgd)
.space 64
END(tlbmiss_handler_setup_pgd)
EXPORT(tlbmiss_handler_setup_pgd_end)
+EXPORT_SYMBOL_GPL(tlbmiss_handler_setup_pgd)
LEAF(handle_tlbm)
.space FASTPATH_SIZE * 4