Module Name: src
Committed By: riastradh
Date: Wed Oct 26 23:24:21 UTC 2022
Modified Files:
src/sys/kern: subr_kcov.c
Log Message:
kern/subr_kcov.c: We already get cold from sys/kernel.h.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 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.17 src/sys/kern/subr_kcov.c:1.18
--- src/sys/kern/subr_kcov.c:1.17 Wed Jul 6 01:12:46 2022
+++ src/sys/kern/subr_kcov.c Wed Oct 26 23:24:21 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: subr_kcov.c,v 1.17 2022/07/06 01:12:46 riastradh Exp $ */
+/* $NetBSD: subr_kcov.c,v 1.18 2022/10/26 23:24:21 riastradh Exp $ */
/*
* Copyright (c) 2019-2020 The NetBSD Foundation, Inc.
@@ -579,7 +579,6 @@ void __sanitizer_cov_trace_pc(void);
void __nomsan
__sanitizer_cov_trace_pc(void)
{
- extern int cold;
uint64_t idx;
kcov_t *kd;
@@ -626,7 +625,6 @@ __sanitizer_cov_trace_pc(void)
static void __nomsan
trace_cmp(uint64_t type, uint64_t arg1, uint64_t arg2, intptr_t pc)
{
- extern int cold;
uint64_t idx;
kcov_t *kd;