commit | 131e135f7fd14b1de7a5eb26631076705c18073f | [log] [tgz] |
---|---|---|
author | Mark Rutland <mark.rutland@arm.com> | Tue Apr 09 12:13:13 2019 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Tue Apr 16 16:28:00 2019 +0100 |
tree | 501c85de2d35307d42bbf74f68add9659cbad26f | |
parent | eea1bb2248691ed65c33daff94a253af44feb103 [diff] |
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>