git: 3a1f5a28f007 - main - proc.h: Order thread_lock*() functions more logically

From: Olivier Certner <olce_at_FreeBSD.org>
Date: Sat, 14 Nov 2026 16:29:46 UTC
The branch main has been updated by olce:

URL: https://cgit.FreeBSD.org/src/commit/?id=3a1f5a28f00770dec7c793a1c44863a824054ade

commit 3a1f5a28f00770dec7c793a1c44863a824054ade
Author:     Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2026-11-12 21:54:37 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
CommitDate: 2026-11-14 16:29:32 +0000

    proc.h: Order thread_lock*() functions more logically
    
    Also matches the implementation order in 'kern_mutex.c'.
    
    No functional change.
    
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
---
 sys/sys/proc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index a10bcfb9d910..729bdb531ff9 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -400,9 +400,9 @@ struct thread0_storage {
 };
 
 struct mtx *thread_lock_block(struct thread *);
+void thread_lock_unblock(struct thread *, struct mtx *);
 void thread_lock_block_wait(struct thread *);
 void thread_lock_set(struct thread *, struct mtx *);
-void thread_lock_unblock(struct thread *, struct mtx *);
 #define	THREAD_LOCK_ASSERT(td, type)					\
 	mtx_assert((td)->td_lock, (type))