diff options
author | Andrey Konovalov <andreyknvl@google.com> | 2019-06-04 14:04:47 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-06-07 13:09:06 -0700 |
commit | d93445225cd3c8eb0bf1350c04875576428b45b4 (patch) | |
tree | 2fec9b8910f1883bd96986959ba3108cf67ea8fd /lib/lockref.c | |
parent | d18c7e9d6e4e0ba358459e812bf115b4ccef54ce (diff) | |
download | lwn-d93445225cd3c8eb0bf1350c04875576428b45b4.tar.gz lwn-d93445225cd3c8eb0bf1350c04875576428b45b4.zip |
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: 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>
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions