]> 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)
commit4706e038d653baa1a3915cbebc3bdd9e4cc4fe32
treeef16e50c90b53b2ebc36409197feca2057ed2737
parente10220692ec819a6d868d2735e12ec06fa0b6c4b
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