aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/compiler.h')
-rw-r--r--include/linux/compiler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/compiler.h b/include/linux/compiler.h
index f1bfa15b6f9b..cf0fa5d86059 100644
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -429,6 +429,10 @@ static __always_inline void __write_once_size(volatile void *p, void *res, int s
429# define __attribute_const__ /* unimplemented */ 429# define __attribute_const__ /* unimplemented */
430#endif 430#endif
431 431
432#ifndef __latent_entropy
433# define __latent_entropy
434#endif
435
432/* 436/*
433 * Tell gcc if a function is cold. The compiler will assume any path 437 * Tell gcc if a function is cold. The compiler will assume any path
434 * directly leading to the call is unlikely. 438 * directly leading to the call is unlikely.