UPSTREAM: arm64: memory: Implement __tag_set() as common function
(Upstream commit 6bbd497f027332b14cf2a6792c418c32286b66c2). There's no need for __tag_set() to be a complicated macro when CONFIG_KASAN_SW_TAGS=y and a simple static inline otherwise. Rewrite the thing as a common static inline function. Tested-by:Steve Capper <steve.capper@arm.com> Reviewed-by:
Steve Capper <steve.capper@arm.com> Tested-by:
Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by:
Catalin Marinas <catalin.marinas@arm.com> Reviewed-by:
Mark Rutland <mark.rutland@arm.com> Signed-off-by:
Will Deacon <will@kernel.org> Signed-off-by:
Andrey Konovalov <andreyknvl@google.com> Bug: 135692346 Change-Id: If1389aebf185a187e1008cd7f4b21308ce3c5790
Loading
Please register or sign in to comment