diff options
author | Tong Tiangen <[email protected]> | 2021-09-01 02:46:19 +0000 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2021-10-02 13:42:23 -0700 |
commit | bb4a23c994aebcd96c567a0be8e964d516bd4a61 (patch) | |
tree | 70647ca06430f45f0bd170ecd65ea016e20ab23a /lib/memory-notifier-error-inject.c | |
parent | 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f (diff) |
riscv/vdso: Refactor asm/vdso.h
The asm/vdso.h will be included in vdso.lds.S in the next patch, the
following cleanup is needed to avoid syntax error:
1.the declaration of sys_riscv_flush_icache() is moved into asm/syscall.h.
2.the definition of struct vdso_data is moved into kernel/vdso.c.
2.the definition of VDSO_SYMBOL is placed under "#ifndef __ASSEMBLY__".
Also remove the redundant linux/types.h include.
Signed-off-by: Tong Tiangen <[email protected]>
Reviewed-by: Kefeng Wang <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions