diff options
Diffstat (limited to 'include/linux/delay.h')
-rw-r--r-- | include/linux/delay.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/delay.h b/include/linux/delay.h index b78bab4395d8..7c4bc414a504 100644 --- a/include/linux/delay.h +++ b/include/linux/delay.h @@ -64,4 +64,10 @@ static inline void ssleep(unsigned int seconds) msleep(seconds * 1000); } +#ifdef CONFIG_PREEMPT_RT_FULL +extern void cpu_chill(void); +#else +# define cpu_chill() cpu_relax() +#endif + #endif /* defined(_LINUX_DELAY_H) */ |