diff options
author | davidxu <davidxu@FreeBSD.org> | 2003-07-31 08:50:01 +0000 |
---|---|---|
committer | davidxu <davidxu@FreeBSD.org> | 2003-07-31 08:50:01 +0000 |
commit | c970c3739c747fabcb4dac4d1838deeaea99ce35 (patch) | |
tree | 195eefba2c6569300b80f0322192b5ca9feecd6b /lib/libpthread/arch | |
parent | 33260f08b85e5057b4e36440cd584b2df321c0de (diff) | |
download | FreeBSD-src-c970c3739c747fabcb4dac4d1838deeaea99ce35.zip FreeBSD-src-c970c3739c747fabcb4dac4d1838deeaea99ce35.tar.gz |
Fix some typos, correctly jump into UTS.
Diffstat (limited to 'lib/libpthread/arch')
-rw-r--r-- | lib/libpthread/arch/amd64/amd64/enter_uts.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/arch/amd64/amd64/enter_uts.S b/lib/libpthread/arch/amd64/amd64/enter_uts.S index b36eb98..b5938bf 100644 --- a/lib/libpthread/arch/amd64/amd64/enter_uts.S +++ b/lib/libpthread/arch/amd64/amd64/enter_uts.S @@ -34,8 +34,8 @@ __FBSDID("$FreeBSD$"); */ ENTRY(_amd64_enter_uts) addq %rcx, %rdx /* get stack base */ - andq -15, %rdx /* align to 16 bytes */ + andq $-15, %rdx /* align to 16 bytes */ movq %rdx, %rsp /* switch to UTS stack */ movq %rdx, %rbp /* set frame */ - jmp *(%rsi) /* jump to UTS entry point */ + pushq %rsi ret |