diff options
author | Jisheng Zhang <jszhang@kernel.org> | 2021-03-29 21:23:24 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2021-04-26 18:25:09 +0300 |
commit | e6a302248cec96c3af4cbfcedc44b0de8a26ebe0 (patch) | |
tree | d5a7e610acdcd462632a79dd58e498f149433f73 /arch/riscv/include/asm/smp.h | |
parent | de31ea4a1181a8bb4d32ab74f3434f2bc2b79122 (diff) | |
download | linux-e6a302248cec96c3af4cbfcedc44b0de8a26ebe0.tar.xz |
riscv: Constify sys_call_table
Constify the sys_call_table so that it will be placed in the .rodata
section. This will cause attempts to modify the table to fail when
strict page permissions are in place.
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/include/asm/smp.h')
0 files changed, 0 insertions, 0 deletions