diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2019-05-25 01:11:16 +0300 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2019-05-29 15:45:59 +0300 |
commit | 8ef8f368ce72b5e17f7c1f1ef15c38dcfd0fef64 (patch) | |
tree | 15bcc8f93707752af437f537d389bfb36d7a465e /arch/arm64/include/asm/arm_dsu_pmu.h | |
parent | d76cac67db40c172791ce07948367b96a758e45b (diff) | |
download | linux-8ef8f368ce72b5e17f7c1f1ef15c38dcfd0fef64.tar.xz |
arm64: fix syscall_fn_t type
Syscall wrappers in <asm/syscall_wrapper.h> use const struct pt_regs *
as the argument type. Use const in syscall_fn_t as well to fix indirect
call type mismatches with Control-Flow Integrity checking.
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/arm_dsu_pmu.h')
0 files changed, 0 insertions, 0 deletions