Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jul 2025 21:14:34 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: baa15beed7f1 - main - sys/sysent.h: use two nibbles for flags, and remove unused SY_THR_FLAGMASK
Message-ID:  <202507062114.566LEY9U003111@gitrepo.freebsd.org>

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

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

commit baa15beed7f1f51c213ae434d3655c6664da8786
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-07-06 12:13:50 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-07-06 21:14:13 +0000

    sys/sysent.h: use two nibbles for flags, and remove unused SY_THR_FLAGMASK
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
---
 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 6314b03142e7..4ddfc8516053 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?202507062114.566LEY9U003111>