Module Name: src
Committed By: hannken
Date: Sat May 16 17:42:07 UTC 2020
Modified Files:
src/sys/kern: subr_kcov.c
Log Message:
Add __diagused, amd64 kernel ALL compiles again.
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/kern/subr_kcov.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/kern/subr_kcov.c
diff -u src/sys/kern/subr_kcov.c:1.14 src/sys/kern/subr_kcov.c:1.15
--- src/sys/kern/subr_kcov.c:1.14 Fri May 15 13:09:02 2020
+++ src/sys/kern/subr_kcov.c Sat May 16 17:42:06 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_kcov.c,v 1.14 2020/05/15 13:09:02 maxv Exp $ */
+/* $NetBSD: subr_kcov.c,v 1.15 2020/05/16 17:42:06 hannken Exp $ */
/*
* Copyright (c) 2019-2020 The NetBSD Foundation, Inc.
@@ -274,7 +274,7 @@ kcov_remote_enter(uint64_t subsystem, ui
struct lwp *l = curlwp;
kcov_remote_t *kr;
kcov_t *kd;
- u_int refs;
+ u_int refs __diagused;
kr = kcov_remote_find(subsystem, id);
if (__predict_false(kr == NULL)) {
@@ -296,7 +296,7 @@ kcov_remote_leave(uint64_t subsystem, ui
{
struct lwp *l = curlwp;
kcov_remote_t *kr;
- u_int refs;
+ u_int refs __diagused;
kr = kcov_remote_find(subsystem, id);
if (__predict_false(kr == NULL)) {