diff options
author | phk <phk@FreeBSD.org> | 2002-04-30 19:34:31 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-04-30 19:34:31 +0000 |
commit | 26ffc19d1e684df319bf5dd56027d530df120066 (patch) | |
tree | fdcf6d66bdb04893e3f03361cbfb50627318e3d7 | |
parent | 8468513da03404c4a6038d5c9c248a7aa1853ec9 (diff) | |
download | FreeBSD-src-26ffc19d1e684df319bf5dd56027d530df120066.zip FreeBSD-src-26ffc19d1e684df319bf5dd56027d530df120066.tar.gz |
Don't export timecounter structures under debug. with sysctl, they
contain no truly interesting data anymore.
-rw-r--r-- | sys/alpha/alpha/clock.c | 6 | ||||
-rw-r--r-- | sys/amd64/amd64/tsc.c | 6 | ||||
-rw-r--r-- | sys/amd64/isa/clock.c | 6 | ||||
-rw-r--r-- | sys/dev/acpica/acpi_timer.c | 2 | ||||
-rw-r--r-- | sys/i386/i386/mp_clock.c | 2 | ||||
-rw-r--r-- | sys/i386/i386/tsc.c | 6 | ||||
-rw-r--r-- | sys/i386/isa/clock.c | 6 | ||||
-rw-r--r-- | sys/i386/isa/loran.c | 3 | ||||
-rw-r--r-- | sys/ia64/ia64/clock.c | 2 | ||||
-rw-r--r-- | sys/isa/atrtc.c | 6 | ||||
-rw-r--r-- | sys/pc98/cbus/clock.c | 6 | ||||
-rw-r--r-- | sys/pc98/cbus/pcrtc.c | 6 | ||||
-rw-r--r-- | sys/pc98/pc98/clock.c | 6 | ||||
-rw-r--r-- | sys/powerpc/aim/clock.c | 3 | ||||
-rw-r--r-- | sys/powerpc/powerpc/clock.c | 3 |
15 files changed, 0 insertions, 69 deletions
diff --git a/sys/alpha/alpha/clock.c b/sys/alpha/alpha/clock.c index cc6bb7b..825b914 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 560da54..29c8958 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 560da54..29c8958 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 8887f13..43aff32 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 1c7388f..244417b 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 560da54..29c8958 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 560da54..29c8958 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 9ad1a4a..03586a0 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 cf48d36..f3dc73c 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 560da54..29c8958 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 9284362..7ed9705 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 9284362..7ed9705 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 9284362..7ed9705 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 02b956f..3194674 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 02b956f..3194674 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) { |