hc
2023-11-20 2e7bd41e4e8ab3d1efdabd9e263a2f7fe79bff8c
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) */