Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Mar 2002 20:33:23 -0800 (PST)
From:      "David E. O'Brien" <obrien@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 8539 for review
Message-ID:  <200203280433.g2S4XN335772@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=8539

Change 8539 by obrien@obrien_trang on 2002/03/27 20:32:23

	Don't be too fancy with null'ed out functions.

Affected files ...

... //depot/projects/sparc64/sys/sparc64/sparc64/clock.c#10 edit

Differences ...

==== //depot/projects/sparc64/sys/sparc64/sparc64/clock.c#10 (text+ko) ====

@@ -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)
 {
@@ -63,23 +58,11 @@
 	TODO;
 }
 
-static void
-sysbeepstop(void *chan)
-{
-#warning sysbeepstop() needs filling in.
-	beeping = 0;
-}
-
 int
 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);
 }

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203280433.g2S4XN335772>