]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: use the correct function type in SYSCALL_DEFINE0
authorSami Tolvanen <samitolvanen@google.com>
Fri, 24 May 2019 22:11:17 +0000 (15:11 -0700)
committerWill Deacon <will.deacon@arm.com>
Wed, 29 May 2019 12:45:59 +0000 (13:45 +0100)
commitb130e6f91d5e522294d9c2f158cd6f8e410d828d
treeef16e50c90b53b2ebc36409197feca2057ed2737
parent9dfad84d0acc5be81e3797bbdbaea6f9bb9f11af
arm64: use the correct function type in SYSCALL_DEFINE0

Although a syscall defined using SYSCALL_DEFINE0 doesn't accept
parameters, use the correct function type to avoid indirect call
type mismatches with Control-Flow Integrity checking.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/syscall_wrapper.h