From 2e7bd41e4e8ab3d1efdabd9e263a2f7fe79bff8c Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 20 Nov 2023 10:14:59 +0000 Subject: [PATCH] otg change to host --- 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