#ifndef _ASM_X86_KASAN_H
#define _ASM_X86_KASAN_H
#include <linux/const.h>
#define KASAN_SHADOW_OFFSET …
#define KASAN_SHADOW_SCALE_SHIFT …
#define KASAN_SHADOW_START …
#define KASAN_SHADOW_END …
#ifndef __ASSEMBLY__
#ifdef CONFIG_KASAN
void __init kasan_early_init(void);
void __init kasan_init(void);
void __init kasan_populate_shadow_for_vaddr(void *va, size_t size, int nid);
#else
static inline void kasan_early_init(void) { … }
static inline void kasan_init(void) { … }
static inline void kasan_populate_shadow_for_vaddr(void *va, size_t size,
int nid) { … }
#endif
#endif
#endif