diff options
| author | 2021-02-23 11:33:13 +0100 | |
|---|---|---|
| committer | 2021-02-23 11:33:13 +0100 | |
| commit | d6310078d9f8c416e85f641a631aecf58f9c97ff (patch) | |
| tree | 58ed5d9818ada3e970d93438083731abd6293ba9 /include/linux/moduleloader.h | |
| parent | Merge branch 'for-5.12/doc' into for-linus (diff) | |
| parent | HID: google: Get HID report on probe to confirm tablet switch state (diff) | |
| download | linux-dev-d6310078d9f8c416e85f641a631aecf58f9c97ff.tar.xz linux-dev-d6310078d9f8c416e85f641a631aecf58f9c97ff.zip | |
Merge branch 'for-5.12/google' into for-linus
- User experience improvements for hid-google from Nicolas Boichat
Diffstat (limited to 'include/linux/moduleloader.h')
| -rw-r--r-- | include/linux/moduleloader.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/moduleloader.h b/include/linux/moduleloader.h index 4fa67a8b2265..9e09d11ffe5b 100644 --- a/include/linux/moduleloader.h +++ b/include/linux/moduleloader.h @@ -96,7 +96,8 @@ void module_arch_cleanup(struct module *mod); /* Any cleanup before freeing mod->module_init */ void module_arch_freeing_init(struct module *mod); -#if defined(CONFIG_KASAN) && !defined(CONFIG_KASAN_VMALLOC) +#if (defined(CONFIG_KASAN_GENERIC) || defined(CONFIG_KASAN_SW_TAGS)) && \ + !defined(CONFIG_KASAN_VMALLOC) #include <linux/kasan.h> #define MODULE_ALIGN (PAGE_SIZE << KASAN_SHADOW_SCALE_SHIFT) #else |
