Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 2025 01:44:26 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: d9290ae86570 - stable/14 - sys/sysent.h: use two nibbles for flags, and remove unused SY_THR_FLAGMASK
Message-ID:  <202507120144.56C1iQkl050706@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by kib:

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

commit d9290ae8657094879674ed280ee6ebfd89679eae
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-07-06 12:13:50 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-07-12 01:41:35 +0000

    sys/sysent.h: use two nibbles for flags, and remove unused SY_THR_FLAGMASK
    
    (cherry picked from commit baa15beed7f1f51c213ae434d3655c6664da8786)
---
 sys/sys/sysent.h | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/sys/sys/sysent.h b/sys/sys/sysent.h
index a23c338f9ce2..a120c13f39cd 100644
--- a/sys/sys/sysent.h
+++ b/sys/sys/sysent.h
@@ -79,11 +79,10 @@ struct sysent {			/* system call table */
  */
 #define	SYF_CAPENABLED	0x00000001
 
-#define	SY_THR_FLAGMASK	0x7
-#define	SY_THR_STATIC	0x1
-#define	SY_THR_DRAINING	0x2
-#define	SY_THR_ABSENT	0x4
-#define	SY_THR_INCR	0x8
+#define	SY_THR_STATIC	0x01
+#define	SY_THR_DRAINING	0x02
+#define	SY_THR_ABSENT	0x04
+#define	SY_THR_INCR	0x08
 
 #ifdef KLD_MODULE
 #define	SY_THR_STATIC_KLD	0



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202507120144.56C1iQkl050706>