Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Stop including <sys/atomic.h> in KCOV



details:   https://anonhg.NetBSD.org/src/rev/795a4f06438a
branches:  trunk
changeset: 449122:795a4f06438a
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sat Feb 23 12:07:40 2019 +0000

description:
Stop including <sys/atomic.h> in KCOV

This header is not needed.

Noted by <martin>

diffstat:

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

diffs (17 lines):

diff -r 78a271777a2c -r 795a4f06438a sys/kern/subr_kcov.c
--- a/sys/kern/subr_kcov.c      Sat Feb 23 12:03:07 2019 +0000
+++ b/sys/kern/subr_kcov.c      Sat Feb 23 12:07:40 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_kcov.c,v 1.2 2019/02/23 12:03:07 kamil Exp $      */
+/*     $NetBSD: subr_kcov.c,v 1.3 2019/02/23 12:07:40 kamil Exp $      */
 
 /*
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -36,7 +36,6 @@
 #include <sys/systm.h>
 #include <sys/kernel.h>
 
-#include <sys/atomic.h>
 #include <sys/conf.h>
 #include <sys/condvar.h>
 #include <sys/kmem.h>



Home | Main Index | Thread Index | Old Index