summaryrefslogtreecommitdiff
path: root/sys/i386/isa/prof_machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/prof_machdep.c')
-rw-r--r--sys/i386/isa/prof_machdep.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/i386/isa/prof_machdep.c b/sys/i386/isa/prof_machdep.c
index 60167ea8ae797..f2849ad1a9dda 100644
--- a/sys/i386/isa/prof_machdep.c
+++ b/sys/i386/isa/prof_machdep.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: prof_machdep.c,v 1.10 1998/04/19 15:41:06 bde Exp $
+ * $Id: prof_machdep.c,v 1.9 1998/04/15 17:45:43 bde Exp $
*/
#ifdef GUPROF
@@ -171,8 +171,7 @@ cputime()
{
u_int count;
int delta;
-#if (defined(I586_CPU) || defined(I686_CPU)) && !defined(SMP) && \
- defined(PERFMON) && defined(I586_PMC_GUPROF)
+#ifdef I586_PMC_GUPROF
u_quad_t event_count;
#endif
u_char high, low;
@@ -230,11 +229,9 @@ static int
sysctl_machdep_cputime_clock SYSCTL_HANDLER_ARGS
{
int clock;
- int error;
-#if defined(PERFMON) && defined(I586_PMC_GUPROF)
int event;
+ int error;
struct pmc pmc;
-#endif
clock = cputime_clock;
#if defined(PERFMON) && defined(I586_PMC_GUPROF)