summaryrefslogtreecommitdiff
path: root/kern/mach_clock.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1997-08-04 19:51:02 +0000
committerThomas Bushnell <thomas@gnu.org>1997-08-04 19:51:02 +0000
commit3fb0a9ecbc7b3b6491de587d366efafbadf95013 (patch)
tree3957a4cc8636530ee07353d5c739506a792d0fa0 /kern/mach_clock.c
parent2a2a488ff1440e4e02f7e33349320d032358eb9a (diff)
Fri Aug 1 16:15:33 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* kern/mach_clock.c (clock_interrupt): Test correct macro to see if PC sampling is configured: MACH_PCSAMPLE, not MACH_SAMPLE. Mon Jul 21 14:20:39 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * kern/mach4.srv: Include <mach_pcsample.h> so the value of MACH_PCSAMPLE is made available for mach4.defs.
Diffstat (limited to 'kern/mach_clock.c')
-rw-r--r--kern/mach_clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/mach_clock.c b/kern/mach_clock.c
index 667b211..9076ef4 100644
--- a/kern/mach_clock.c
+++ b/kern/mach_clock.c
@@ -167,7 +167,7 @@ void clock_interrupt(usec, usermode, basepri)
thread_quantum_update(my_cpu, thread, 1, state);
}
-#if MACH_SAMPLE
+#if MACH_PCSAMPLE
/*
* Take a sample of pc for the user if required.
* This had better be MP safe. It might be interesting