Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/hyperv rename sneaky snyc in hvtimesnyc_sample_verbo...
details: https://anonhg.NetBSD.org/src/rev/5dfaa01f3832
branches: trunk
changeset: 372243:5dfaa01f3832
user: andvar <andvar%NetBSD.org@localhost>
date: Wed Nov 02 18:18:44 2022 +0000
description:
rename sneaky snyc in hvtimesnyc_sample_verbose variable to sync.
diffstat:
sys/dev/hyperv/hvtimesync.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r cdba7e526ae8 -r 5dfaa01f3832 sys/dev/hyperv/hvtimesync.c
--- a/sys/dev/hyperv/hvtimesync.c Wed Nov 02 12:49:10 2022 +0000
+++ b/sys/dev/hyperv/hvtimesync.c Wed Nov 02 18:18:44 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hvtimesync.c,v 1.2 2019/03/01 08:17:51 nonaka Exp $ */
+/* $NetBSD: hvtimesync.c,v 1.3 2022/11/02 18:18:44 andvar Exp $ */
/*-
* Copyright (c) 2014,2016-2017 Microsoft Corp.
@@ -28,7 +28,7 @@
#include <sys/cdefs.h>
#ifdef __KERNEL_RCSID
-__KERNEL_RCSID(0, "$NetBSD: hvtimesync.c,v 1.2 2019/03/01 08:17:51 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hvtimesync.c,v 1.3 2022/11/02 18:18:44 andvar Exp $");
#endif
#ifdef __FBSDID
__FBSDID("$FreeBSD: head/sys/dev/hyperv/utilities/vmbus_timesync.c 322488 2017-08-14 06:00:50Z sephe $");
@@ -75,7 +75,7 @@
hvtimesync_match, hvtimesync_attach, hvtimesync_detach, NULL);
static int hvtimesync_ignore_sync;
-static int hvtimesnyc_sample_verbose;
+static int hvtimesync_sample_verbose;
static int hvtimesync_sample_thresh = -1;
static int
@@ -149,7 +149,7 @@
if ((tsflags & VMBUS_ICMSG_TS_FLAG_SAMPLE) &&
hvtimesync_sample_thresh >= 0) {
- if (hvtimesnyc_sample_verbose) {
+ if (hvtimesync_sample_verbose) {
device_printf(vsc->sc_dev,
"sample request, hv: %ju, vm: %ju\n",
(uintmax_t)hv_ns, (uintmax_t)vm_ns);
@@ -284,7 +284,7 @@
error = sysctl_createv(&vsc->sc_log, 0, &node, NULL,
CTLFLAG_READWRITE,
CTLTYPE_INT, "sample_verbose", NULL,
- NULL, 0, &hvtimesnyc_sample_verbose, 0,
+ NULL, 0, &hvtimesync_sample_verbose, 0,
CTL_CREATE, CTL_EOL);
if (error)
return error;
Home |
Main Index |
Thread Index |
Old Index