We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9c51103 + 7c64de1 commit f6d6f7dCopy full SHA for f6d6f7d
1 file changed
arch/lkl/kernel/time.c
@@ -14,7 +14,7 @@ void __ndelay(unsigned long nsecs)
14
unsigned long long start = lkl_ops->time();
15
16
while (lkl_ops->time() < start + nsecs)
17
- ;
+ cpu_relax();
18
}
19
20
void __udelay(unsigned long usecs)
0 commit comments