diff options
Diffstat (limited to 'include/linux/compiler-version.h')
-rw-r--r-- | include/linux/compiler-version.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/compiler-version.h b/include/linux/compiler-version.h index 5dba398a9412..4b9d39b37650 100644 --- a/include/linux/compiler-version.h +++ b/include/linux/compiler-version.h @@ -23,3 +23,12 @@ #ifdef GCC_PLUGINS #include <generated/gcc-plugins.h> #endif + +/* + * If the randstruct seed itself changes (whether for GCC plugins or + * Clang), the entire tree needs to be rebuilt since the randomization of + * structures may change between compilation units if not. + */ +#ifdef RANDSTRUCT +#include <generated/randstruct_hash.h> +#endif |