Module Name:    src
Committed By:   ad
Date:           Tue Jan 28 16:40:27 UTC 2020

Modified Files:
        src/sys/sys: lwp.h types.h

Log Message:
Put pri_t back to an int.  It looks like there might be a sign extension
issue somewhere but it's not worth the hassle trying to find it.


To generate a diff of this commit:
cvs rdiff -u -r1.198 -r1.199 src/sys/sys/lwp.h
cvs rdiff -u -r1.103 -r1.104 src/sys/sys/types.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/lwp.h
diff -u src/sys/sys/lwp.h:1.198 src/sys/sys/lwp.h:1.199
--- src/sys/sys/lwp.h:1.198	Sat Jan 25 15:41:52 2020
+++ src/sys/sys/lwp.h	Tue Jan 28 16:40:27 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: lwp.h,v 1.198 2020/01/25 15:41:52 ad Exp $	*/
+/*	$NetBSD: lwp.h,v 1.199 2020/01/28 16:40:27 ad Exp $	*/
 
 /*
  * Copyright (c) 2001, 2006, 2007, 2008, 2009, 2010, 2019, 2020
@@ -103,7 +103,7 @@ struct lwp {
 	int		l_biglocks;	/* l: biglock count before sleep */
 	short		l_stat;		/* l: overall LWP status */
 	short		l_class;	/* l: scheduling class */
-	short		l_kpriority;	/* !: has kernel priority boost */
+	int		l_kpriority;	/* !: has kernel priority boost */
 	pri_t		l_kpribase;	/* !: kernel priority base level */
 	pri_t		l_priority;	/* l: scheduler priority */
 	pri_t		l_inheritedprio;/* l: inherited priority */

Index: src/sys/sys/types.h
diff -u src/sys/sys/types.h:1.103 src/sys/sys/types.h:1.104
--- src/sys/sys/types.h:1.103	Sun Jan 12 21:40:44 2020
+++ src/sys/sys/types.h	Tue Jan 28 16:40:27 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: types.h,v 1.103 2020/01/12 21:40:44 ad Exp $	*/
+/*	$NetBSD: types.h,v 1.104 2020/01/28 16:40:27 ad Exp $	*/
 
 /*-
  * Copyright (c) 1982, 1986, 1991, 1993, 1994
@@ -317,7 +317,7 @@ typedef	_BSD_USECONDS_T_	useconds_t;
 
 typedef struct kauth_cred *kauth_cred_t;
 
-typedef short pri_t;
+typedef int pri_t;
 
 #endif
 

Reply via email to