uaccess: add noop untagged_addr definition
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: NCatalin Marinas <catalin.marinas@arm.com> Reviewed-by: NKhalid Aziz <khalid.aziz@oracle.com> Signed-off-by: NAndrey Konovalov <andreyknvl@google.com> Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
Showing
想要评论请 注册 或 登录