git: baa15beed7f1 - main - sys/sysent.h: use two nibbles for flags, and remove unused SY_THR_FLAGMASK
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Jul 2025 21:14:34 UTC
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