Fix assembler warning about unsized bts instruction.

This commit is contained in:
Martin Whitaker 2022-02-02 12:52:44 +00:00
parent dcac527068
commit 7acb81e302
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ startup:
# need to take the mutex to protect our use of the stack.
leal (startup_stack_mutex - startup)(%edi), %eax
0: lock bts $0, (%eax)
0: lock btsl $0, (%eax)
jc 0b
leal (startup_stack_top - startup)(%edi), %esp

View File

@ -145,7 +145,7 @@ startup:
# Use the startup stack until we pick the correct one. We
# need to take a mutex to protect our use of the stack.
0: lock bts $0, startup_stack_mutex(%rip)
0: lock btsl $0, startup_stack_mutex(%rip)
jc 0b
leaq startup_stack_top(%rip), %rsp