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 55ee9ee814f8..0b4ac3e8c63e 100644 --- a/include/linux/compiler.h +++ b/include/linux/compiler.h | |||
@@ -456,6 +456,11 @@ static __always_inline void __write_once_size(volatile void *p, void *res, int s | |||
456 | # define __no_randomize_layout | 456 | # define __no_randomize_layout |
457 | #endif | 457 | #endif |
458 | 458 | ||
459 | #ifndef randomized_struct_fields_start | ||
460 | # define randomized_struct_fields_start | ||
461 | # define randomized_struct_fields_end | ||
462 | #endif | ||
463 | |||
459 | /* | 464 | /* |
460 | * Tell gcc if a function is cold. The compiler will assume any path | 465 | * Tell gcc if a function is cold. The compiler will assume any path |
461 | * directly leading to the call is unlikely. | 466 | * directly leading to the call is unlikely. |