LoongArch: Handle fp, lsx, lasx and lbt assembly symbols
authorTiezhu Yang <yangtiezhu@loongson.cn>
Thu, 24 Apr 2025 12:15:41 +0000 (20:15 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Sat, 26 Apr 2025 01:58:12 +0000 (09:58 +0800)
commit2ef174b13344b3b4554d3d28e6f9e2a2c1d3138f
treef58ee90b7ac45abda1d510ce8cd34cfbcf4dbe04
parentcc73cc6bcdb5f959670e3ff9abdc62461452ddff
LoongArch: Handle fp, lsx, lasx and lbt assembly symbols

Like the other relevant symbols, export some fp, lsx, lasx and lbt
assembly symbols and put the function declarations in header files
rather than source files.

While at it, use "asmlinkage" for the other existing C prototypes
of assembly functions and also do not use the "extern" keyword with
function declarations according to the document coding-style.rst.

Cc: stable@vger.kernel.org # 6.6+
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/fpu.h
arch/loongarch/include/asm/lbt.h
arch/loongarch/kernel/fpu.S
arch/loongarch/kernel/lbt.S
arch/loongarch/kernel/signal.c