Source-Changes-HG archive

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

[src/pgoyette-localcount]: src/external/cddl/osnet More renaming of LOCALCOUN...



details:   https://anonhg.NetBSD.org/src/rev/44065e020964
branches:  pgoyette-localcount
changeset: 852867:44065e020964
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue Jul 26 06:17:26 2016 +0000

description:
More renaming of LOCALCOUNT_INITIALIZER --> DEVSW_MODULE_INIT

diffstat:

 external/cddl/osnet/dev/fbt/fbt.c                      |  4 ++--
 external/cddl/osnet/dev/sdt/sdt.c                      |  4 ++--
 external/cddl/osnet/dist/uts/common/dtrace/dtrace.c    |  2 +-
 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ioctl.c |  4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

diffs (72 lines):

diff -r a95a30887ff5 -r 44065e020964 external/cddl/osnet/dev/fbt/fbt.c
--- a/external/cddl/osnet/dev/fbt/fbt.c Tue Jul 26 05:54:39 2016 +0000
+++ b/external/cddl/osnet/dev/fbt/fbt.c Tue Jul 26 06:17:26 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fbt.c,v 1.18.2.4 2016/07/19 06:27:00 pgoyette Exp $    */
+/*     $NetBSD: fbt.c,v 1.18.2.5 2016/07/26 06:17:26 pgoyette Exp $    */
 
 /*
  * CDDL HEADER START
@@ -153,7 +153,7 @@
 #define        FBT_PROBETAB_SIZE       0x8000          /* 32k entries -- 128K total */
 
 static const struct cdevsw fbt_cdevsw = {
-       LOCALCOUNT_INITIALIZER
+       DEVSW_MODULE_INIT
        .d_open         = fbt_open,
        .d_close        = noclose,
        .d_read         = noread,
diff -r a95a30887ff5 -r 44065e020964 external/cddl/osnet/dev/sdt/sdt.c
--- a/external/cddl/osnet/dev/sdt/sdt.c Tue Jul 26 05:54:39 2016 +0000
+++ b/external/cddl/osnet/dev/sdt/sdt.c Tue Jul 26 06:17:26 2016 +0000
@@ -39,7 +39,7 @@
  * unloaded; in particular, probes may not span multiple kernel modules.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sdt.c,v 1.16.2.4 2016/07/19 06:27:00 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sdt.c,v 1.16.2.5 2016/07/26 06:17:26 pgoyette Exp $");
 
 #include <sys/cdefs.h>
 #include <sys/param.h>
@@ -120,7 +120,7 @@
 }
 
 static const struct cdevsw sdt_cdevsw = {
-       LOCALCOUNT_INITIALIZER
+       DEVSW_MODULE_INIT
        .d_open         = sdt_open,
        .d_close        = noclose,
        .d_read         = noread,
diff -r a95a30887ff5 -r 44065e020964 external/cddl/osnet/dist/uts/common/dtrace/dtrace.c
--- a/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c       Tue Jul 26 05:54:39 2016 +0000
+++ b/external/cddl/osnet/dist/uts/common/dtrace/dtrace.c       Tue Jul 26 06:17:26 2016 +0000
@@ -15340,7 +15340,7 @@
 /* Just opens, clones to the fileops below */
 
 const struct cdevsw dtrace_cdevsw = {
-       LOCALCOUNT_INITIALIZER
+       DEVSW_MODULE_INIT
        .d_open         = dtrace_open,
        .d_close        = noclose,
        .d_read         = noread,
diff -r a95a30887ff5 -r 44065e020964 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ioctl.c
--- a/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ioctl.c    Tue Jul 26 05:54:39 2016 +0000
+++ b/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_ioctl.c    Tue Jul 26 06:17:26 2016 +0000
@@ -4564,7 +4564,7 @@
 }
 
 const struct bdevsw zfs_bdevsw = {
-       LOCALCOUNT_INITIALIZER
+       DEVSW_MODULE_INIT
        .d_open = nb_zvol_bopen,
        .d_close = nb_zvol_bclose,
        .d_strategy = zvol_strategy,
@@ -4575,7 +4575,7 @@
 };
 
 const struct cdevsw zfs_cdevsw = {
-       LOCALCOUNT_INITIALIZER
+       DEVSW_MODULE_INIT
        .d_open = nb_zvol_copen,
        .d_close = nb_zvol_cclose,
        .d_read = nb_zvol_read,



Home | Main Index | Thread Index | Old Index