diff options
author | Zong Li <zong.li@sifive.com> | 2020-03-10 00:55:42 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-03-26 09:24:49 -0700 |
commit | b42d763a2d412d6ef7c29cb2f1b3e9985e2b1e38 (patch) | |
tree | ec1aaa9c051806f02bf08ae62e66a93302b3c64a /arch/riscv/include/asm/patch.h | |
parent | d27c3c90817e4c5ea655714065a725b4abd576f9 (diff) | |
download | linux-b42d763a2d412d6ef7c29cb2f1b3e9985e2b1e38.tar.gz linux-b42d763a2d412d6ef7c29cb2f1b3e9985e2b1e38.tar.bz2 linux-b42d763a2d412d6ef7c29cb2f1b3e9985e2b1e38.zip |
riscv: add macro to get instruction length
Extract the calculation of instruction length for common use.
Signed-off-by: Zong Li <zong.li@sifive.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/include/asm/patch.h')
0 files changed, 0 insertions, 0 deletions