Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Use the L_ flags instead of the P_ flags for lwps.
details: https://anonhg.NetBSD.org/src/rev/99dc8e8d6801
branches: trunk
changeset: 761287:99dc8e8d6801
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 22 20:54:43 2011 +0000
description:
Use the L_ flags instead of the P_ flags for lwps.
diffstat:
sys/kern/init_sysctl.c | 10 +++++-----
sys/sys/sysctl.h | 5 +++--
2 files changed, 8 insertions(+), 7 deletions(-)
diffs (50 lines):
diff -r 682d11399ccd -r 99dc8e8d6801 sys/kern/init_sysctl.c
--- a/sys/kern/init_sysctl.c Sat Jan 22 20:51:21 2011 +0000
+++ b/sys/kern/init_sysctl.c Sat Jan 22 20:54:43 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: init_sysctl.c,v 1.175 2010/07/01 02:38:30 rmind Exp $ */
+/* $NetBSD: init_sysctl.c,v 1.176 2011/01/22 20:54:43 christos Exp $ */
/*-
* Copyright (c) 2003, 2007, 2008, 2009 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: init_sysctl.c,v 1.175 2010/07/01 02:38:30 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: init_sysctl.c,v 1.176 2011/01/22 20:54:43 christos Exp $");
#include "opt_sysv.h"
#include "opt_compat_netbsd32.h"
@@ -140,9 +140,9 @@
};
static const u_int sysctl_lwpflagmap[] = {
- LW_SINTR, P_SINTR,
- LW_SYSTEM, P_SYSTEM,
- LW_SA, P_SA, /* WRS ??? */
+ LW_SINTR, L_SINTR,
+ LW_SYSTEM, L_SYSTEM,
+ LW_SA, L_SA, /* WRS ??? */
0
};
diff -r 682d11399ccd -r 99dc8e8d6801 sys/sys/sysctl.h
--- a/sys/sys/sysctl.h Sat Jan 22 20:51:21 2011 +0000
+++ b/sys/sys/sysctl.h Sat Jan 22 20:54:43 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sysctl.h,v 1.189 2010/11/14 05:34:56 uebayasi Exp $ */
+/* $NetBSD: sysctl.h,v 1.190 2011/01/22 20:54:44 christos Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -592,7 +592,8 @@
#define L_SINTR 0x00000080
#define P_SINTR /* 0x00000080 */ L_SINTR
#define P_SUGID 0x00000100
-#define P_SYSTEM 0x00000200
+#define L_SYSTEM 0x00000200
+#define P_SYSTEM /* 0x00000200 */ L_SYSTEM
#define L_SA 0x00000400
#define P_SA /* 0x00000400 */ L_SA
#define P_TRACED 0x00000800
Home |
Main Index |
Thread Index |
Old Index