From e3e12f52b214121840b44c91de5b3e5af5d3eb84 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 06 Nov 2023 03:04:41 +0000 Subject: [PATCH] rk3568 rt init --- kernel/fs/autofs/expire.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/fs/autofs/expire.c b/kernel/fs/autofs/expire.c index 70e9afe..1a6b88a 100644 --- a/kernel/fs/autofs/expire.c +++ b/kernel/fs/autofs/expire.c @@ -8,6 +8,7 @@ * option, any later version, incorporated herein by reference. */ +#include <linux/delay.h> #include "autofs_i.h" /* Check if a dentry can be expired */ @@ -153,7 +154,7 @@ parent = p->d_parent; if (!spin_trylock(&parent->d_lock)) { spin_unlock(&p->d_lock); - cpu_relax(); + cpu_chill(); goto relock; } spin_unlock(&p->d_lock); -- Gitblit v1.6.2