diff options
-rw-r--r-- | kern/mach4.srv | 2 | ||||
-rw-r--r-- | kern/mach_clock.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/kern/mach4.srv b/kern/mach4.srv index ead5484..9df7cea 100644 --- a/kern/mach4.srv +++ b/kern/mach4.srv @@ -21,6 +21,8 @@ */ /* This is a server presentation file. */ +#include <mach_pcsample.h> + #define KERNEL_SERVER 1 #ifdef MIGRATING_THREADS 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 |