diff options
Diffstat (limited to 'include/linux/compiler.h')
-rw-r--r-- | include/linux/compiler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h index 70f070ddd7c7..109b1460ecee 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h | |||
@@ -478,6 +478,11 @@ static __always_inline void __write_once_size(volatile void *p, void *res, int s | |||
478 | # define __no_randomize_layout | 478 | # define __no_randomize_layout |
479 | #endif | 479 | #endif |
480 | 480 | ||
481 | #ifndef randomized_struct_fields_start | ||
482 | # define randomized_struct_fields_start | ||
483 | # define randomized_struct_fields_end | ||
484 | #endif | ||
485 | |||
481 | /* | 486 | /* |
482 | * Tell gcc if a function is cold. The compiler will assume any path | 487 | * Tell gcc if a function is cold. The compiler will assume any path |
483 | * directly leading to the call is unlikely. | 488 | * directly leading to the call is unlikely. |