From 69d6da3c1c63675524a25e7dc92a4f43c4164cef Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 20 Nov 2023 06:31:22 +0000 Subject: [PATCH] add r8169 read mac form eeprom --- kernel/drivers/scsi/libfc/fc_exch.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/drivers/scsi/libfc/fc_exch.c b/kernel/drivers/scsi/libfc/fc_exch.c index 384458d..0271115 100644 --- a/kernel/drivers/scsi/libfc/fc_exch.c +++ b/kernel/drivers/scsi/libfc/fc_exch.c @@ -833,10 +833,10 @@ } memset(ep, 0, sizeof(*ep)); - cpu = get_cpu(); + cpu = get_cpu_light(); pool = per_cpu_ptr(mp->pool, cpu); spin_lock_bh(&pool->lock); - put_cpu(); + put_cpu_light(); /* peek cache of free slot */ if (pool->left != FC_XID_UNKNOWN) { -- Gitblit v1.6.2