summaryrefslogtreecommitdiff
path: root/kern/syscall_subr.c
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-12-03 21:50:21 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:58 +0200
commit5507b361044db9036a96b42f991972c9d3ea0494 (patch)
treebe5ce87e8a2d6f7c1b1cb7f7ee47a5e8730c00c1 /kern/syscall_subr.c
parent96c01087a657dfc1c877b63e9e6b0f45c37b9c78 (diff)
2006-12-03 Thomas Schwinge <tschwinge@gnu.org>
[patch #5019 --- ``Remove checks for continuations''] * DEVELOPMENT: Document the removal. * i386/configfrag.ac (CONTINUATIONS): Don't define. 2006-12-03 Leonardo Lopes Pereira <leonardolopespereira@gmail.com> [patch #5019 --- ``Remove checks for continuations''] * ipc/mach_msg.c: Adopt all users of CONTINUATIONS as if it were always defined. * kern/eventcount.c: Likewise. * kern/ipc_sched.c: Likewise. * kern/syscall_subr.c: Likewise. * vm/vm_fault.c: Likewise. * vm/vm_pageout.c: Likewise. * vm/vm_resident.c: Likewise.
Diffstat (limited to 'kern/syscall_subr.c')
-rw-r--r--kern/syscall_subr.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/kern/syscall_subr.c b/kern/syscall_subr.c
index a94e8db..01bd932 100644
--- a/kern/syscall_subr.c
+++ b/kern/syscall_subr.c
@@ -65,7 +65,6 @@
extern void thread_depress_priority();
extern kern_return_t thread_depress_abort();
-#ifdef CONTINUATIONS
void swtch_continue()
{
register processor_t myprocessor;
@@ -75,9 +74,6 @@ void swtch_continue()
myprocessor->processor_set->runq.count > 0);
/*NOTREACHED*/
}
-#else /* not CONTINUATIONS */
-#define swtch_continue 0
-#endif /* not CONTINUATIONS */
boolean_t swtch()
{
@@ -97,7 +93,6 @@ boolean_t swtch()
myprocessor->processor_set->runq.count > 0);
}
-#ifdef CONTINUATIONS
void swtch_pri_continue()
{
register thread_t thread = current_thread();
@@ -110,9 +105,6 @@ void swtch_pri_continue()
myprocessor->processor_set->runq.count > 0);
/*NOTREACHED*/
}
-#else /* not CONTINUATIONS */
-#define swtch_pri_continue 0
-#endif /* not CONTINUATIONS */
boolean_t swtch_pri(pri)
int pri;
@@ -149,7 +141,6 @@ boolean_t swtch_pri(pri)
extern int hz;
-#ifdef CONTINUATIONS
void thread_switch_continue()
{
register thread_t cur_thread = current_thread();
@@ -162,9 +153,6 @@ void thread_switch_continue()
thread_syscall_return(KERN_SUCCESS);
/*NOTREACHED*/
}
-#else /* not CONTINUATIONS */
-#define thread_switch_continue 0
-#endif /* not CONTINUATIONS */
/*
* thread_switch: