UPSTREAM: uaccess: add noop untagged_addr definition
(Upstream commit d93445225cd3c8eb0bf1350c04875576428b45b4). Architectures that support memory tagging have a need to perform untagging (stripping the tag) in various parts of the kernel. This patch adds an untagged_addr() macro, which is defined as noop for architectures that do not support memory tagging. The oncoming patch series will define it at least for sparc64 and arm64. Acked-by:Catalin Marinas <catalin.marinas@arm.com> Reviewed-by:
Khalid Aziz <khalid.aziz@oracle.com> Signed-off-by:
Andrey Konovalov <andreyknvl@google.com> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by:
Andrey Konovalov <andreyknvl@google.com> Bug: 135692346 Change-Id: If3932582c82e302fe8d602fabac9a8f4cde6388d
Loading
Please register or sign in to comment