Skip to content
Commit 131e135f authored by Mark Rutland's avatar Mark Rutland Committed by Will Deacon
Browse files

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: default avatarMark Rutland <mark.rutland@arm.com>
[will: consistently use *p as argument to sizeof]
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent eea1bb22
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment