LoongArch: Consolidate __ex_table construction
authorYouling Tang <tangyouling@loongson.cn>
Sat, 10 Dec 2022 14:39:48 +0000 (22:39 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Wed, 14 Dec 2022 00:36:11 +0000 (08:36 +0800)
commit508f28c67171e276356650f407dd87d42b6913ef
treeee0f73bff2f2b8efac297a7691851e83c605e381
parent1a34e7f2fcbaaeb3c88858d2e4655bc93038ec9b
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>
arch/loongarch/include/asm/asm-extable.h [new file with mode: 0644]
arch/loongarch/include/asm/futex.h
arch/loongarch/include/asm/uaccess.h
arch/loongarch/kernel/fpu.S
arch/loongarch/lib/clear_user.S
arch/loongarch/lib/copy_user.S