summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Moestl <tmm@FreeBSD.org>2001-08-04 18:02:47 +0000
committerThomas Moestl <tmm@FreeBSD.org>2001-08-04 18:02:47 +0000
commit938a4e5c0c9423162915c9231c0b17dab2463039 (patch)
treecd02bda4841fff2afb84ea98ec890c54e86bfdf5
parente43cc4ae36993b19002a67ab0a9fb7541e94cf1d (diff)
Notes
-rw-r--r--sys/kern/subr_devstat.c2
-rw-r--r--sys/sys/devicestat.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/subr_devstat.c b/sys/kern/subr_devstat.c
index 3c15b433a089..8831a2f8fcc0 100644
--- a/sys/kern/subr_devstat.c
+++ b/sys/kern/subr_devstat.c
@@ -41,7 +41,7 @@ static long devstat_generation;
static int devstat_version = DEVSTAT_VERSION;
static int devstat_current_devnumber;
-static STAILQ_HEAD(devstatlist, devstat) device_statq;
+static struct devstatlist device_statq;
/*
* Take a malloced and zeroed devstat structure given to us, fill it in
diff --git a/sys/sys/devicestat.h b/sys/sys/devicestat.h
index b3e7f7f54e0a..b7becea0fa8b 100644
--- a/sys/sys/devicestat.h
+++ b/sys/sys/devicestat.h
@@ -205,6 +205,8 @@ struct devstat {
devstat_priority priority; /* Controls list pos. */
};
+STAILQ_HEAD(devstatlist, devstat);
+
#ifdef _KERNEL
struct bio;