diff options
author | Mark Rutland <mark.rutland@arm.com> | 2019-04-09 12:13:13 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2019-04-16 16:28:00 +0100 |
commit | 131e135f7fd14b1de7a5eb26631076705c18073f (patch) | |
tree | 501c85de2d35307d42bbf74f68add9659cbad26f /arch/arm64/kernel/vdso.c | |
parent | eea1bb2248691ed65c33daff94a253af44feb103 (diff) | |
download | lwn-131e135f7fd14b1de7a5eb26631076705c18073f.tar.gz lwn-131e135f7fd14b1de7a5eb26631076705c18073f.zip |
arm64: instrument smp_{load_acquire,store_release}
Our __smp_store_release() and __smp_load_acquire() macros use inline
assembly, which is opaque to kasan. This means that kasan can't catch
erroneous use of these.
This patch adds kasan instrumentation to both.
Cc: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
[will: consistently use *p as argument to sizeof]
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/vdso.c')
0 files changed, 0 insertions, 0 deletions