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 /sys/amd64 | |
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.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/tsc.c | 6 | ||||
-rw-r--r-- | sys/amd64/isa/clock.c | 6 |
2 files changed, 0 insertions, 12 deletions
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) { |