hc
2023-11-22 983d7f83616922a6439b4352d1b3af488ee27f95
kernel/include/linux/delay.h
....@@ -64,4 +64,10 @@
6464 msleep(seconds * 1000);
6565 }
6666
67
+#ifdef CONFIG_PREEMPT_RT_FULL
68
+extern void cpu_chill(void);
69
+#else
70
+# define cpu_chill() cpu_relax()
71
+#endif
72
+
6773 #endif /* defined(_LINUX_DELAY_H) */