Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern kern/subr_kcov.c: We already get cold from sys/kern...



details:   https://anonhg.NetBSD.org/src/rev/db5dd13681db
branches:  trunk
changeset: 372065:db5dd13681db
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Oct 26 23:24:21 2022 +0000

description:
kern/subr_kcov.c: We already get cold from sys/kernel.h.

diffstat:

 sys/kern/subr_kcov.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r d6dafe7d16a3 -r db5dd13681db sys/kern/subr_kcov.c
--- a/sys/kern/subr_kcov.c      Wed Oct 26 23:24:09 2022 +0000
+++ b/sys/kern/subr_kcov.c      Wed Oct 26 23:24:21 2022 +0000
@@ -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 __nomsan
 __sanitizer_cov_trace_pc(void)
 {
-       extern int cold;
        uint64_t idx;
        kcov_t *kd;
 
@@ -626,7 +625,6 @@
 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;
 



Home | Main Index | Thread Index | Old Index