Module Name: src Committed By: riastradh Date: Sun Nov 12 19:46:06 UTC 2017
Modified Files: src/sys/sys: param.h Log Message: Define hz2bintime = ms2bintime o hztoms. To generate a diff of this commit: cvs rdiff -u -r1.550 -r1.551 src/sys/sys/param.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/param.h diff -u src/sys/sys/param.h:1.550 src/sys/sys/param.h:1.551 --- src/sys/sys/param.h:1.550 Tue Nov 7 19:44:05 2017 +++ src/sys/sys/param.h Sun Nov 12 19:46:06 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: param.h,v 1.550 2017/11/07 19:44:05 christos Exp $ */ +/* $NetBSD: param.h,v 1.551 2017/11/12 19:46:06 riastradh Exp $ */ /*- * Copyright (c) 1982, 1986, 1989, 1993 @@ -478,6 +478,8 @@ ((t +0u) * 1000u) / hz) #endif +#define hz2bintime(t) (ms2bintime(hztoms(t))) + extern const int schedppq; extern size_t coherency_unit;