Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Switch kcov module class to MODULE_CLASS_MISC



details:   https://anonhg.NetBSD.org/src/rev/a317569b2e08
branches:  trunk
changeset: 998118:a317569b2e08
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sun Apr 07 21:01:43 2019 +0000

description:
Switch kcov module class to MODULE_CLASS_MISC

MODULE_CLASS_ANY is not intended to be used by modules.

Noted by <pgoyette>

diffstat:

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

diffs (18 lines):

diff -r 43063a6d661f -r a317569b2e08 sys/kern/subr_kcov.c
--- a/sys/kern/subr_kcov.c      Sun Apr 07 20:28:55 2019 +0000
+++ b/sys/kern/subr_kcov.c      Sun Apr 07 21:01:43 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_kcov.c,v 1.6 2019/03/10 22:34:14 kamil Exp $      */
+/*     $NetBSD: subr_kcov.c,v 1.7 2019/04/07 21:01:43 kamil Exp $      */
 
 /*
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -547,7 +547,7 @@
 
 /* -------------------------------------------------------------------------- */
 
-MODULE(MODULE_CLASS_ANY, kcov, NULL);
+MODULE(MODULE_CLASS_MISC, kcov, NULL);
 
 static void
 kcov_init(void)



Home | Main Index | Thread Index | Old Index