summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i386/i386/pcb.c2
-rw-r--r--i386/i386/pcb.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386/pcb.c b/i386/i386/pcb.c
index 7f2b3c88..fffa92af 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 f8671a2e..21bdfd9c 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);