summaryrefslogtreecommitdiff
path: root/Documentation/arm64
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2022-02-19 04:29:44 +0300
committerWill Deacon <will@kernel.org>2022-02-23 00:48:44 +0300
commitf9b5e46f4097eb298f68e5b02f70697a90a44739 (patch)
treeba52afd2c33f252f81476bac224a74684a904c90 /Documentation/arm64
parentdfd42facf1e4ada021b939b4e19c935dcdd55566 (diff)
downloadlinux-f9b5e46f4097eb298f68e5b02f70697a90a44739.tar.xz
kasan: split kasan_*enabled() functions into a separate header
In an upcoming commit we are going to need to call kasan_hw_tags_enabled() from arch/arm64/include/asm/mte.h. This would create a circular dependency between headers if KASAN_GENERIC or KASAN_SW_TAGS is enabled: linux/kasan.h -> linux/pgtable.h -> asm/pgtable.h -> asm/mte.h -> linux/kasan.h. Break the cycle by introducing a new header linux/kasan-enabled.h with the kasan_*enabled() functions that can be included from asm/mte.h. Link: https://linux-review.googlesource.com/id/I5b0d96c6ed0026fc790899e14d42b2fac6ab568e Signed-off-by: Peter Collingbourne <pcc@google.com> Reviewed-by: Andrey Konovalov <andreyknvl@gmail.com> Link: https://lore.kernel.org/r/20220219012945.894950-1-pcc@google.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'Documentation/arm64')
0 files changed, 0 insertions, 0 deletions