Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2026 05:17:39 +0000
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Cc:        Jessica Clarke <jrtc27@FreeBSD.org>
Subject:   git: 164d8af43ecf - stable/15 - i386: Fix build and remove empty unused macro
Message-ID:  <698c10f3.25e74.ecd9800@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=164d8af43ecf07e42d39ee76b1bedb0ae877b35f

commit 164d8af43ecf07e42d39ee76b1bedb0ae877b35f
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2026-02-02 17:43:50 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-02-11 05:12:38 +0000

    i386: Fix build and remove empty unused macro
    
    (cherry picked from commit 9e0fe126714cc0b2045bec16fe8d06dbcd663144)
---
 sys/i386/i386/swtch.S | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sys/i386/i386/swtch.S b/sys/i386/i386/swtch.S
index cb03c847fbc9..ad7c1d16c788 100644
--- a/sys/i386/i386/swtch.S
+++ b/sys/i386/i386/swtch.S
@@ -34,8 +34,6 @@
 
 #include "assym.inc"
 
-#define	BLOCK_SPIN(reg)							\
-
 /*****************************************************************************/
 /* Scheduling                                                                */
 /*****************************************************************************/
@@ -170,7 +168,7 @@ sw1:
 100:
 
 	lock
-	cmpxchgl	%eax,TD_LOCK(reg)
+	cmpxchgl	%eax,TD_LOCK(%ecx)
 	jne		101f
 	pause
 	jmp		100b


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?698c10f3.25e74.ecd9800>