Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2017 18:24:11 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r318476 - head/sys/kern
Message-ID:  <201705181824.v4IIOBSN062738@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Thu May 18 18:24:11 2017
New Revision: 318476
URL: https://svnweb.freebsd.org/changeset/base/318476

Log:
  Avoid open-coding PRI_UNCHANGED.
  
  MFC after:	1 week

Modified:
  head/sys/kern/kern_fail.c

Modified: head/sys/kern/kern_fail.c
==============================================================================
--- head/sys/kern/kern_fail.c	Thu May 18 18:18:39 2017	(r318475)
+++ head/sys/kern/kern_fail.c	Thu May 18 18:24:11 2017	(r318476)
@@ -612,7 +612,7 @@ fail_point_eval_nontrivial(struct fail_p
 			break;
 
 		case FAIL_POINT_YIELD:
-			kern_yield(-1);
+			kern_yield(PRI_UNCHANGED);
 			break;
 
 		case FAIL_POINT_DELAY:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705181824.v4IIOBSN062738>