forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-11-24 2b26ab132d1b33b91c84c6d732456200e8c5ee77
kernel/fs/autofs/expire.c
....@@ -8,6 +8,7 @@
88 * option, any later version, incorporated herein by reference.
99 */
1010
11
+#include <linux/delay.h>
1112 #include "autofs_i.h"
1213
1314 /* Check if a dentry can be expired */
....@@ -153,7 +154,7 @@
153154 parent = p->d_parent;
154155 if (!spin_trylock(&parent->d_lock)) {
155156 spin_unlock(&p->d_lock);
156
- cpu_relax();
157
+ cpu_chill();
157158 goto relock;
158159 }
159160 spin_unlock(&p->d_lock);