diff options
author | Etienne Brateau <etienne.brateau@gmail.com> | 2020-03-28 21:56:34 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-03-29 11:45:05 +0200 |
commit | 86fb67f8f82d54fd00bd13a3f0293bf4c86f4f50 (patch) | |
tree | 23d11e4cc2ac8e91e83e9f04e9083aee5138cab1 /x86_64 | |
parent | 534fe660fc8910ff77920ba12d5fcb66825b83e7 (diff) | |
download | gnumach-86fb67f8f82d54fd00bd13a3f0293bf4c86f4f50.tar.gz gnumach-86fb67f8f82d54fd00bd13a3f0293bf4c86f4f50.tar.bz2 gnumach-86fb67f8f82d54fd00bd13a3f0293bf4c86f4f50.zip |
spl: Fix assembly files
* x86_64/spl.S: fix instruction length
Diffstat (limited to 'x86_64')
-rw-r--r-- | x86_64/spl.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/x86_64/spl.S b/x86_64/spl.S index 073b84da..0c2c50cb 100644 --- a/x86_64/spl.S +++ b/x86_64/spl.S @@ -130,8 +130,8 @@ ENTRY(splx) /* First make sure that if we're exitting from ipl7, IF is still cleared */ cmpl $SPL7,EXT(curr_ipl) /* from ipl7? */ jne 0f - pushfl - popl %eax + pushfq + popq %rax testl $0x200,%eax /* IF? */ jz 0f int3 /* Oops, interrupts got enabled?! */ @@ -210,8 +210,8 @@ spl: /* First make sure that if we're exitting from ipl7, IF is still cleared */ cmpl $SPL7,EXT(curr_ipl) /* from ipl7? */ jne 0f - pushfl - popl %eax + pushfq + popq %rax testl $0x200,%eax /* IF? */ jz 0f int3 /* Oops, interrupts got enabled?! */ |