diff options
author | Jisheng Zhang <jszhang@kernel.org> | 2021-11-18 14:25:45 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-01-06 04:52:47 +0300 |
commit | 6dd10d9166a0c06260e0ac6b1fac454117c8024a (patch) | |
tree | 7102788ef5eb73d674726348999476a5559ea216 /arch/riscv/include/asm/uaccess.h | |
parent | 9d504f9aa5c1b76673018da9503e76b351a24b8c (diff) | |
download | linux-6dd10d9166a0c06260e0ac6b1fac454117c8024a.tar.xz |
riscv: extable: consolidate definitions
This is a riscv port of commit 819771cc2892 ("arm64: extable:
consolidate definitions").
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/include/asm/uaccess.h')
-rw-r--r-- | arch/riscv/include/asm/uaccess.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/riscv/include/asm/uaccess.h b/arch/riscv/include/asm/uaccess.h index 0f2c5b9d2e8f..40e6099af488 100644 --- a/arch/riscv/include/asm/uaccess.h +++ b/arch/riscv/include/asm/uaccess.h @@ -8,14 +8,9 @@ #ifndef _ASM_RISCV_UACCESS_H #define _ASM_RISCV_UACCESS_H +#include <asm/asm-extable.h> #include <asm/pgtable.h> /* for TASK_SIZE */ -#define _ASM_EXTABLE(from, to) \ - " .pushsection __ex_table, \"a\"\n" \ - " .balign 4\n" \ - " .long (" #from " - .), (" #to " - .)\n" \ - " .popsection\n" - /* * User space memory access functions */ |