diff options
author | obrien <obrien@FreeBSD.org> | 2002-03-28 04:33:51 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-03-28 04:33:51 +0000 |
commit | 375a27ced0259990949bf8b048570370fbae929c (patch) | |
tree | 72ccb3cefdd6b1d30b4b546385163cfb7c6a2916 /sys/sparc64 | |
parent | 40f268c0177b24126e39c4fe8de732c2890da47f (diff) | |
download | FreeBSD-src-375a27ced0259990949bf8b048570370fbae929c.zip FreeBSD-src-375a27ced0259990949bf8b048570370fbae929c.tar.gz |
Don't be too fancy with null'ed out functions.
Requested by: jake
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/sparc64/clock.c | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/sys/sparc64/sparc64/clock.c b/sys/sparc64/sparc64/clock.c index e5cf393..8b646a0 100644 --- a/sys/sparc64/sparc64/clock.c +++ b/sys/sparc64/sparc64/clock.c @@ -28,17 +28,12 @@ #include <sys/param.h> #include <sys/systm.h> -#include <sys/lock.h> -#include <sys/mutex.h> #include <machine/clock.h> u_long tick_increment; u_long tick_freq; u_long tick_MHz; -struct mtx clock_lock; -static int beeping = 0; - void cpu_initclocks(void) { @@ -70,11 +65,10 @@ resettodr(void) TODO; } -static void -sysbeepstop(void *chan) +void +setstatclockrate(int newhz) { -#warning sysbeepstop() needs filling in. - beeping = 0; + TODO; } int @@ -83,16 +77,5 @@ sysbeep(int pitch, int period) /* * XXX: function exists to enable RAID drivers to compile at the moment. */ -#warning sysbeep() needs filling in. - mtx_lock_spin(&clock_lock); - timeout(sysbeepstop, (void *)NULL, period); - mtx_unlock_spin(&clock_lock); - return (0); } - -void -setstatclockrate(int newhz) -{ - TODO; -} |