Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Sort XC_IPL_* in order of priority (NFC)



details:   https://anonhg.NetBSD.org/src/rev/c589b6c71ef6
branches:  trunk
changeset: 829524:c589b6c71ef6
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Mon Feb 05 02:51:41 2018 +0000

description:
Sort XC_IPL_* in order of priority (NFC)

diffstat:

 sys/kern/subr_xcall.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (33 lines):

diff -r d2e3c3335843 -r c589b6c71ef6 sys/kern/subr_xcall.c
--- a/sys/kern/subr_xcall.c     Mon Feb 05 02:51:08 2018 +0000
+++ b/sys/kern/subr_xcall.c     Mon Feb 05 02:51:41 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_xcall.c,v 1.24 2018/02/05 02:51:08 ozaki-r Exp $  */
+/*     $NetBSD: subr_xcall.c,v 1.25 2018/02/05 02:51:41 ozaki-r Exp $  */
 
 /*-
  * Copyright (c) 2007-2010 The NetBSD Foundation, Inc.
@@ -74,7 +74,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_xcall.c,v 1.24 2018/02/05 02:51:08 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_xcall.c,v 1.25 2018/02/05 02:51:41 ozaki-r Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -129,10 +129,10 @@
  * (just XC_HIGHPRI).
  */
 #define XC_IPL_SOFTSERIAL      0
-#define XC_IPL_SOFTBIO         1
-#define XC_IPL_SOFTCLOCK       2
-#define XC_IPL_SOFTNET         3
-#define XC_IPL_MAX             XC_IPL_SOFTNET
+#define XC_IPL_SOFTNET         1
+#define XC_IPL_SOFTBIO         2
+#define XC_IPL_SOFTCLOCK       3
+#define XC_IPL_MAX             XC_IPL_SOFTCLOCK
 
 CTASSERT(XC_IPL_MAX <= __arraycount(xc_sihs));
 



Home | Main Index | Thread Index | Old Index