amd64: Fix a bug in cpu_prepare_lwp().
authorJordan Gordeev <jgordeev@dir.bg>
Sat, 13 Jun 2009 16:52:27 +0000 (19:52 +0300)
committerJordan Gordeev <jgordeev@dir.bg>
Sat, 13 Jun 2009 16:52:27 +0000 (19:52 +0300)
commitac6b496d08d2588524785f0388e376f90f50e503
treedea55832316a91dcfbb9fd60653d10dc584a6650
parentb747d346aea8977bf0c7f86cd665f7d98461db41
amd64: Fix a bug in cpu_prepare_lwp().
The code used the i386 argument passing convention - on the stack -
while amd64 expected the argument in %rdi.
Fixes threaded apps.
sys/platform/pc64/amd64/vm_machdep.c