diff options
Diffstat (limited to 'include/linux/compiler-gcc.h')
| -rw-r--r-- | include/linux/compiler-gcc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h index 386caf6771ed..7deaae3dc87d 100644 --- a/include/linux/compiler-gcc.h +++ b/include/linux/compiler-gcc.h | |||
| @@ -223,6 +223,11 @@ | |||
| 223 | /* Mark a function definition as prohibited from being cloned. */ | 223 | /* Mark a function definition as prohibited from being cloned. */ |
| 224 | #define __noclone __attribute__((__noclone__, __optimize__("no-tracer"))) | 224 | #define __noclone __attribute__((__noclone__, __optimize__("no-tracer"))) |
| 225 | 225 | ||
| 226 | #ifdef RANDSTRUCT_PLUGIN | ||
| 227 | #define __randomize_layout __attribute__((randomize_layout)) | ||
| 228 | #define __no_randomize_layout __attribute__((no_randomize_layout)) | ||
| 229 | #endif | ||
| 230 | |||
| 226 | #endif /* GCC_VERSION >= 40500 */ | 231 | #endif /* GCC_VERSION >= 40500 */ |
| 227 | 232 | ||
| 228 | #if GCC_VERSION >= 40600 | 233 | #if GCC_VERSION >= 40600 |
