From 5e8555e3ea324daaf0e38422bcba48c4df33a0d9 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Tue, 07 Nov 2023 06:17:58 +0000 Subject: [PATCH] gmac read mac form eeprom --- 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