This series takes advantage of the recent support for using EXPORT_SYMBOL from assembly source to move symbols exports for functions written in assembly to be performed close to the definition of the function itself. The result is that mips_ksyms.c can be removed entirely. Along the way we make the handling of functions written (or at least stubbed) in assembly a little more consistent for microMIPS kernels. Applies atop v4.9-rc4. Paul Burton (10): MIPS: Use generic asm/export.h MIPS: tlbex: Clear ISA bit when writing to handle_tlb{l,m,s} MIPS: End asm function prologue macros with .insn MIPS: Export _save_fp & _save_msa alongside their definitions MIPS: Export _mcount alongside its definition MIPS: Export invalid_pte_table alongside its definition MIPS: Export csum functions alongside their definitions MIPS: Export string functions alongside their definitions MIPS: Export memcpy & memset functions alongside their definitions MIPS: Export {copy,clear}_page functions alongside their definitions arch/mips/cavium-octeon/octeon-memcpy.S | 5 ++ arch/mips/include/asm/Kbuild | 1 + arch/mips/include/asm/asm.h | 10 ++-- arch/mips/kernel/Makefile | 2 +- arch/mips/kernel/mcount.S | 2 + arch/mips/kernel/mips_ksyms.c | 94 --------------------------------- arch/mips/kernel/r2300_switch.S | 2 + arch/mips/kernel/r4k_switch.S | 3 ++ arch/mips/lib/csum_partial.S | 6 +++ arch/mips/lib/memcpy.S | 9 ++++ arch/mips/lib/memset.S | 5 ++ arch/mips/lib/strlen_user.S | 2 + arch/mips/lib/strncpy_user.S | 5 ++ arch/mips/lib/strnlen_user.S | 3 ++ arch/mips/mm/init.c | 2 + arch/mips/mm/page-funcs.S | 3 ++ arch/mips/mm/page.c | 2 + arch/mips/mm/tlbex.c | 6 +-- 18 files changed, 60 insertions(+), 102 deletions(-) delete mode 100644 arch/mips/kernel/mips_ksyms.c -- 2.10.2