diff options
author | Youling Tang <tangyouling@loongson.cn> | 2022-12-10 17:39:48 +0300 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2022-12-14 03:36:11 +0300 |
commit | 508f28c67171e276356650f407dd87d42b6913ef (patch) | |
tree | ee0f73bff2f2b8efac297a7691851e83c605e381 /arch/loongarch/kernel/fpu.S | |
parent | 1a34e7f2fcbaaeb3c88858d2e4655bc93038ec9b (diff) | |
download | linux-508f28c67171e276356650f407dd87d42b6913ef.tar.xz |
LoongArch: Consolidate __ex_table construction
Consolidate all the __ex_table constuction code with a _ASM_EXTABLE or
_asm_extable helper.
There should be no functional change as a result of this patch.
Signed-off-by: Youling Tang <tangyouling@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/kernel/fpu.S')
-rw-r--r-- | arch/loongarch/kernel/fpu.S | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/loongarch/kernel/fpu.S b/arch/loongarch/kernel/fpu.S index 576b3370a296..ccde94140c89 100644 --- a/arch/loongarch/kernel/fpu.S +++ b/arch/loongarch/kernel/fpu.S @@ -8,6 +8,7 @@ */ #include <asm/asm.h> #include <asm/asmmacro.h> +#include <asm/asm-extable.h> #include <asm/asm-offsets.h> #include <asm/errno.h> #include <asm/export.h> @@ -21,9 +22,7 @@ .macro EX insn, reg, src, offs .ex\@: \insn \reg, \src, \offs - .section __ex_table,"a" - PTR .ex\@, fault - .previous + _asm_extable .ex\@, fault .endm .macro sc_save_fp base |