diff options
author | Thomas Schwinge <thomas@schwinge.name> | 2011-09-06 10:34:11 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@schwinge.name> | 2011-09-06 10:34:11 +0200 |
commit | 8c06145f67e2067e49d10f9d4f8d16b383d3d5da (patch) | |
tree | f0bfb789f2a8f45448f7ee5abee36de54e9558e9 | |
parent | bdd9501d71dfb3df5826f74c73a152031f5c2460 (diff) |
* i386/i386/pcb.h (stack_attach): Parameterize the continuation parameter's
parameter list.
* i386/i386/pcb.c (stack_attach): Likewise.
-rw-r--r-- | i386/i386/pcb.c | 2 | ||||
-rw-r--r-- | i386/i386/pcb.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386/pcb.c b/i386/i386/pcb.c index 7f2b3c8..fffa92a 100644 --- a/i386/i386/pcb.c +++ b/i386/i386/pcb.c @@ -78,7 +78,7 @@ vm_offset_t kernel_stack[NCPUS]; /* top of active_stack */ void stack_attach(thread, stack, continuation) register thread_t thread; register vm_offset_t stack; - void (*continuation)(); + void (*continuation)(thread_t); { counter(if (++c_stacks_current > c_stacks_max) c_stacks_max = c_stacks_current); diff --git a/i386/i386/pcb.h b/i386/i386/pcb.h index f8671a2..21bdfd9 100644 --- a/i386/i386/pcb.h +++ b/i386/i386/pcb.h @@ -64,7 +64,7 @@ extern void load_context (thread_t new); extern void stack_attach ( thread_t thread, vm_offset_t stack, - void (*continuation)()); + void (*continuation)(thread_t)); extern vm_offset_t stack_detach (thread_t thread); |