summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim/vm_machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/aim/vm_machdep.c')
-rw-r--r--sys/powerpc/aim/vm_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/aim/vm_machdep.c b/sys/powerpc/aim/vm_machdep.c
index 1b58c1e..1492a07 100644
--- a/sys/powerpc/aim/vm_machdep.c
+++ b/sys/powerpc/aim/vm_machdep.c
@@ -197,7 +197,7 @@ void
cpu_throw(struct thread *old, struct thread *new)
{
- cpu_switch(old, new, NULL);
+ cpu_switch(old, new, old->td_lock);
panic("cpu_throw() didn't");
}
OpenPOWER on IntegriCloud