From 86fb67f8f82d54fd00bd13a3f0293bf4c86f4f50 Mon Sep 17 00:00:00 2001 From: Etienne Brateau Date: Sat, 28 Mar 2020 21:56:34 +0100 Subject: spl: Fix assembly files * x86_64/spl.S: fix instruction length --- x86_64/spl.S | 8 ++++---- 1 file 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?! */ -- cgit v1.2.3