OSDN Git Service

riscv: consolidate __ex_table construction
authorJisheng Zhang <jszhang@kernel.org>
Thu, 18 Nov 2021 11:22:27 +0000 (19:22 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 6 Jan 2022 01:52:15 +0000 (17:52 -0800)
commitf8f2ad02ee438b7dbceaac947077eaf77c823646
tree6ce8926e9235be84320e183c129d00aa1243d485
parentddad0b88d5032e1c4a2a94b46aeadada4e4d8a72
riscv: consolidate __ex_table construction

Consolidate all the __ex_table constuction code with a _ASM_EXTABLE
helper.

There should be no functional change as a result of this patch.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Reviewed-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/futex.h
arch/riscv/include/asm/uaccess.h