Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/sys/sys use symbolic constant for 0
details: https://anonhg.NetBSD.org/src/rev/d9402ed6c25e
branches: trunk
changeset: 357616:d9402ed6c25e
user: christos <christos%NetBSD.org@localhost>
date: Sat Nov 18 13:51:56 2017 +0000
description:
use symbolic constant for 0
diffstat:
external/cddl/osnet/sys/sys/kmem.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 31cd3bf3b936 -r d9402ed6c25e external/cddl/osnet/sys/sys/kmem.h
--- a/external/cddl/osnet/sys/sys/kmem.h Sat Nov 18 08:19:21 2017 +0000
+++ b/external/cddl/osnet/sys/sys/kmem.h Sat Nov 18 13:51:56 2017 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: kmem.h,v 1.7 2017/11/17 18:18:01 christos Exp $ */
+/* $NetBSD: kmem.h,v 1.8 2017/11/18 13:51:56 christos Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -79,7 +79,7 @@
* causes a deadlock we either need to provide an emergency
* pool or handle the failure.
*/
- if (flags == 0)
+ if (flags == KM_PUSHPAGE)
flags |= KM_SLEEP;
return pool_cache_get(cache, flags);
}
Home |
Main Index |
Thread Index |
Old Index