]> asedeno.scripts.mit.edu Git - linux.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)
commit0e358bd7b7ebd27e491dabed938eae254c17fe3b
treeef16e50c90b53b2ebc36409197feca2057ed2737
parent8ef8f368ce72b5e17f7c1f1ef15c38dcfd0fef64
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