diff options
Diffstat (limited to 'kern')
-rw-r--r-- | kern/eventcount.c | 7 | ||||
-rw-r--r-- | kern/eventcount.h | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/kern/eventcount.c b/kern/eventcount.c index 5025000..aa3f1e3 100644 --- a/kern/eventcount.c +++ b/kern/eventcount.c @@ -53,13 +53,6 @@ #include <kern/eventcount.h> - -#if NCPUS <= 1 -void simpler_thread_setrun( - thread_t th, - boolean_t may_preempt); /* forward */ -#endif - #define MAX_EVCS 10 /* xxx for now */ evc_t all_eventcounters[MAX_EVCS]; diff --git a/kern/eventcount.h b/kern/eventcount.h index 6872a34..4a4125c 100644 --- a/kern/eventcount.h +++ b/kern/eventcount.h @@ -56,4 +56,10 @@ extern kern_return_t evc_wait(natural_t ev_id); extern void evc_notify_abort (thread_t thread); +#if NCPUS <= 1 +void simpler_thread_setrun( + thread_t th, + boolean_t may_preempt); +#endif + #endif /* _KERN_EVENTCOUNT_H_ */ |