aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-04-30 19:34:31 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-04-30 19:34:31 +0000
commit2266fe776ef45450c09017ef1df30b5fff755d00 (patch)
treefdcf6d66bdb04893e3f03361cbfb50627318e3d7
parente6728403d493abddf47be54cd6cec240988c901f (diff)
Notes
-rw-r--r--sys/alpha/alpha/clock.c6
-rw-r--r--sys/amd64/amd64/tsc.c6
-rw-r--r--sys/amd64/isa/clock.c6
-rw-r--r--sys/dev/acpica/acpi_timer.c2
-rw-r--r--sys/i386/i386/mp_clock.c2
-rw-r--r--sys/i386/i386/tsc.c6
-rw-r--r--sys/i386/isa/clock.c6
-rw-r--r--sys/i386/isa/loran.c3
-rw-r--r--sys/ia64/ia64/clock.c2
-rw-r--r--sys/isa/atrtc.c6
-rw-r--r--sys/pc98/cbus/clock.c6
-rw-r--r--sys/pc98/cbus/pcrtc.c6
-rw-r--r--sys/pc98/pc98/clock.c6
-rw-r--r--sys/powerpc/aim/clock.c3
-rw-r--r--sys/powerpc/powerpc/clock.c3
15 files changed, 0 insertions, 69 deletions
diff --git a/sys/alpha/alpha/clock.c b/sys/alpha/alpha/clock.c
index cc6bb7b8b88c..825b91480448 100644
--- a/sys/alpha/alpha/clock.c
+++ b/sys/alpha/alpha/clock.c
@@ -124,9 +124,6 @@ static struct timecounter alpha_timecounter = {
"alpha" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, alpha_timecounter, CTLFLAG_RD,
- &alpha_timecounter, sizeof(alpha_timecounter), "S,timecounter", "");
-
static struct timecounter i8254_timecounter = {
i8254_get_timecount, /* get_timecount */
0, /* no poll_pps */
@@ -135,9 +132,6 @@ static struct timecounter i8254_timecounter = {
"i8254" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, i8254_timecounter, CTLFLAG_RD,
- &i8254_timecounter, sizeof(i8254_timecounter), "S,timecounter", "");
-
/* Values for timerX_state: */
#define RELEASED 0
#define RELEASE_PENDING 1
diff --git a/sys/amd64/amd64/tsc.c b/sys/amd64/amd64/tsc.c
index 560da54cfea8..29c895834074 100644
--- a/sys/amd64/amd64/tsc.c
+++ b/sys/amd64/amd64/tsc.c
@@ -183,9 +183,6 @@ static struct timecounter tsc_timecounter = {
"TSC" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, tsc_timecounter, CTLFLAG_RD,
- &tsc_timecounter, sizeof(tsc_timecounter), "S,timecounter", "");
-
static struct timecounter i8254_timecounter = {
i8254_get_timecount, /* get_timecount */
0, /* no poll_pps */
@@ -194,9 +191,6 @@ static struct timecounter i8254_timecounter = {
"i8254" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, i8254_timecounter, CTLFLAG_RD,
- &i8254_timecounter, sizeof(i8254_timecounter), "S,timecounter", "");
-
static void
clkintr(struct clockframe frame)
{
diff --git a/sys/amd64/isa/clock.c b/sys/amd64/isa/clock.c
index 560da54cfea8..29c895834074 100644
--- a/sys/amd64/isa/clock.c
+++ b/sys/amd64/isa/clock.c
@@ -183,9 +183,6 @@ static struct timecounter tsc_timecounter = {
"TSC" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, tsc_timecounter, CTLFLAG_RD,
- &tsc_timecounter, sizeof(tsc_timecounter), "S,timecounter", "");
-
static struct timecounter i8254_timecounter = {
i8254_get_timecount, /* get_timecount */
0, /* no poll_pps */
@@ -194,9 +191,6 @@ static struct timecounter i8254_timecounter = {
"i8254" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, i8254_timecounter, CTLFLAG_RD,
- &i8254_timecounter, sizeof(i8254_timecounter), "S,timecounter", "");
-
static void
clkintr(struct clockframe frame)
{
diff --git a/sys/dev/acpica/acpi_timer.c b/sys/dev/acpica/acpi_timer.c
index 8887f13d6d8e..43aff324912b 100644
--- a/sys/dev/acpica/acpi_timer.c
+++ b/sys/dev/acpica/acpi_timer.c
@@ -102,8 +102,6 @@ static struct timecounter acpi_timer_timecounter = {
"ACPI"
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, acpi_timecounter, CTLFLAG_RD,
- &acpi_timer_timecounter, sizeof(acpi_timer_timecounter), "S,timecounter", "");
static int test_counter(void);
#define N 2000
diff --git a/sys/i386/i386/mp_clock.c b/sys/i386/i386/mp_clock.c
index 1c7388f96bb7..244417b3429c 100644
--- a/sys/i386/i386/mp_clock.c
+++ b/sys/i386/i386/mp_clock.c
@@ -58,8 +58,6 @@ static struct timecounter piix_timecounter = {
"PIIX"
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, piix_timecounter, CTLFLAG_RD,
- &piix_timecounter, sizeof(piix_timecounter), "S,timecounter", "");
static int
sysctl_machdep_piix_freq(SYSCTL_HANDLER_ARGS)
diff --git a/sys/i386/i386/tsc.c b/sys/i386/i386/tsc.c
index 560da54cfea8..29c895834074 100644
--- a/sys/i386/i386/tsc.c
+++ b/sys/i386/i386/tsc.c
@@ -183,9 +183,6 @@ static struct timecounter tsc_timecounter = {
"TSC" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, tsc_timecounter, CTLFLAG_RD,
- &tsc_timecounter, sizeof(tsc_timecounter), "S,timecounter", "");
-
static struct timecounter i8254_timecounter = {
i8254_get_timecount, /* get_timecount */
0, /* no poll_pps */
@@ -194,9 +191,6 @@ static struct timecounter i8254_timecounter = {
"i8254" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, i8254_timecounter, CTLFLAG_RD,
- &i8254_timecounter, sizeof(i8254_timecounter), "S,timecounter", "");
-
static void
clkintr(struct clockframe frame)
{
diff --git a/sys/i386/isa/clock.c b/sys/i386/isa/clock.c
index 560da54cfea8..29c895834074 100644
--- a/sys/i386/isa/clock.c
+++ b/sys/i386/isa/clock.c
@@ -183,9 +183,6 @@ static struct timecounter tsc_timecounter = {
"TSC" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, tsc_timecounter, CTLFLAG_RD,
- &tsc_timecounter, sizeof(tsc_timecounter), "S,timecounter", "");
-
static struct timecounter i8254_timecounter = {
i8254_get_timecount, /* get_timecount */
0, /* no poll_pps */
@@ -194,9 +191,6 @@ static struct timecounter i8254_timecounter = {
"i8254" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, i8254_timecounter, CTLFLAG_RD,
- &i8254_timecounter, sizeof(i8254_timecounter), "S,timecounter", "");
-
static void
clkintr(struct clockframe frame)
{
diff --git a/sys/i386/isa/loran.c b/sys/i386/isa/loran.c
index 9ad1a4a0d3c5..03586a04eced 100644
--- a/sys/i386/isa/loran.c
+++ b/sys/i386/isa/loran.c
@@ -613,9 +613,6 @@ static struct timecounter loran_timecounter = {
"loran" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, loran_timecounter, CTLFLAG_RD,
- &loran_timecounter, sizeof(loran_timecounter), "S,timecounter", "");
-
/**********************************************************************/
diff --git a/sys/ia64/ia64/clock.c b/sys/ia64/ia64/clock.c
index cf48d3601f7a..f3dc73cf1eae 100644
--- a/sys/ia64/ia64/clock.c
+++ b/sys/ia64/ia64/clock.c
@@ -93,8 +93,6 @@ static struct timecounter ia64_timecounter = {
"IA64 ITC" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, ia64_timecounter, CTLFLAG_RD,
- &ia64_timecounter, sizeof(ia64_timecounter), "S,timecounter", "");
#endif
/* Values for timerX_state: */
diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c
index 560da54cfea8..29c895834074 100644
--- a/sys/isa/atrtc.c
+++ b/sys/isa/atrtc.c
@@ -183,9 +183,6 @@ static struct timecounter tsc_timecounter = {
"TSC" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, tsc_timecounter, CTLFLAG_RD,
- &tsc_timecounter, sizeof(tsc_timecounter), "S,timecounter", "");
-
static struct timecounter i8254_timecounter = {
i8254_get_timecount, /* get_timecount */
0, /* no poll_pps */
@@ -194,9 +191,6 @@ static struct timecounter i8254_timecounter = {
"i8254" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, i8254_timecounter, CTLFLAG_RD,
- &i8254_timecounter, sizeof(i8254_timecounter), "S,timecounter", "");
-
static void
clkintr(struct clockframe frame)
{
diff --git a/sys/pc98/cbus/clock.c b/sys/pc98/cbus/clock.c
index 92843629ebde..7ed9705e5995 100644
--- a/sys/pc98/cbus/clock.c
+++ b/sys/pc98/cbus/clock.c
@@ -208,9 +208,6 @@ static struct timecounter tsc_timecounter = {
"TSC" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, tsc_timecounter, CTLFLAG_RD,
- &tsc_timecounter, sizeof(tsc_timecounter), "S,timecounter", "");
-
static struct timecounter i8254_timecounter = {
i8254_get_timecount, /* get_timecount */
0, /* no poll_pps */
@@ -219,9 +216,6 @@ static struct timecounter i8254_timecounter = {
"i8254" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, i8254_timecounter, CTLFLAG_RD,
- &i8254_timecounter, sizeof(i8254_timecounter), "S,timecounter", "");
-
static void
clkintr(struct clockframe frame)
{
diff --git a/sys/pc98/cbus/pcrtc.c b/sys/pc98/cbus/pcrtc.c
index 92843629ebde..7ed9705e5995 100644
--- a/sys/pc98/cbus/pcrtc.c
+++ b/sys/pc98/cbus/pcrtc.c
@@ -208,9 +208,6 @@ static struct timecounter tsc_timecounter = {
"TSC" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, tsc_timecounter, CTLFLAG_RD,
- &tsc_timecounter, sizeof(tsc_timecounter), "S,timecounter", "");
-
static struct timecounter i8254_timecounter = {
i8254_get_timecount, /* get_timecount */
0, /* no poll_pps */
@@ -219,9 +216,6 @@ static struct timecounter i8254_timecounter = {
"i8254" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, i8254_timecounter, CTLFLAG_RD,
- &i8254_timecounter, sizeof(i8254_timecounter), "S,timecounter", "");
-
static void
clkintr(struct clockframe frame)
{
diff --git a/sys/pc98/pc98/clock.c b/sys/pc98/pc98/clock.c
index 92843629ebde..7ed9705e5995 100644
--- a/sys/pc98/pc98/clock.c
+++ b/sys/pc98/pc98/clock.c
@@ -208,9 +208,6 @@ static struct timecounter tsc_timecounter = {
"TSC" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, tsc_timecounter, CTLFLAG_RD,
- &tsc_timecounter, sizeof(tsc_timecounter), "S,timecounter", "");
-
static struct timecounter i8254_timecounter = {
i8254_get_timecount, /* get_timecount */
0, /* no poll_pps */
@@ -219,9 +216,6 @@ static struct timecounter i8254_timecounter = {
"i8254" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, i8254_timecounter, CTLFLAG_RD,
- &i8254_timecounter, sizeof(i8254_timecounter), "S,timecounter", "");
-
static void
clkintr(struct clockframe frame)
{
diff --git a/sys/powerpc/aim/clock.c b/sys/powerpc/aim/clock.c
index 02b956f0ba1b..31946741adb5 100644
--- a/sys/powerpc/aim/clock.c
+++ b/sys/powerpc/aim/clock.c
@@ -108,9 +108,6 @@ static struct timecounter powerpc_timecounter = {
"powerpc" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, powerpc_timecounter, CTLFLAG_RD,
- &powerpc_timecounter, sizeof(powerpc_timecounter), "S,timecounter", "");
-
void
inittodr(time_t base)
{
diff --git a/sys/powerpc/powerpc/clock.c b/sys/powerpc/powerpc/clock.c
index 02b956f0ba1b..31946741adb5 100644
--- a/sys/powerpc/powerpc/clock.c
+++ b/sys/powerpc/powerpc/clock.c
@@ -108,9 +108,6 @@ static struct timecounter powerpc_timecounter = {
"powerpc" /* name */
};
-SYSCTL_OPAQUE(_debug, OID_AUTO, powerpc_timecounter, CTLFLAG_RD,
- &powerpc_timecounter, sizeof(powerpc_timecounter), "S,timecounter", "");
-
void
inittodr(time_t base)
{