diff options
author | grehan <grehan@FreeBSD.org> | 2003-08-14 03:56:24 +0000 |
---|---|---|
committer | grehan <grehan@FreeBSD.org> | 2003-08-14 03:56:24 +0000 |
commit | e6a3a6744e57438f2763932260c770036f4119be (patch) | |
tree | 887c4c2e54678a6aa7dbf858b636ef6f69ab1870 /sys/powerpc/aim/vm_machdep.c | |
parent | 52d14db571f7adb4f8901fe88346f5dea10ac336 (diff) | |
download | FreeBSD-src-e6a3a6744e57438f2763932260c770036f4119be.zip FreeBSD-src-e6a3a6744e57438f2763932260c770036f4119be.tar.gz |
Update powerpc to use the (old thread,new thread) calling convention
for cpu_throw() and cpu_switch().
Diffstat (limited to 'sys/powerpc/aim/vm_machdep.c')
-rw-r--r-- | sys/powerpc/aim/vm_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/aim/vm_machdep.c b/sys/powerpc/aim/vm_machdep.c index b067b32..ead7511 100644 --- a/sys/powerpc/aim/vm_machdep.c +++ b/sys/powerpc/aim/vm_machdep.c @@ -203,10 +203,10 @@ cpu_sched_exit(td) /* Temporary helper */ void -cpu_throw(void) +cpu_throw(struct thread *old, struct thread *new) { - cpu_switch(); + cpu_switch(old, new); panic("cpu_throw() didn't"); } |