1 /* SPDX-License-Identifier: GPL-2.0 */
7 #include <linux/linkage.h>
8 #include <asm/memory.h>
9 #include <asm/mte-kasan.h>
10 #include <asm/pgtable-types.h>
12 #define arch_kasan_set_tag(addr, tag) __tag_set(addr, tag)
13 #define arch_kasan_reset_tag(addr) __tag_reset(addr)
14 #define arch_kasan_get_tag(addr) __tag_get(addr)
16 #if defined(CONFIG_KASAN_GENERIC) || defined(CONFIG_KASAN_SW_TAGS)
18 asmlinkage
void kasan_early_init(void);
19 void kasan_init(void);
22 static inline void kasan_init(void) { }