aboutsummaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2022-01-24 08:48:34 +0100
committerFelix Held <felix-coreboot@felixheld.de>2022-09-29 13:41:06 +0000
commit3cd00dbb3e04e8ad78da1d20be9acae6aeef799a (patch)
tree01c6de255b5c92226536e96b7d065b37b87cf254 /src/arch
parent0d3e3f54c555e467c2b3e8f3024a6e0f1bbd9508 (diff)
arch/x86/idt.S: Use 'iretq' for ENV_X86_64
Fix the warning below when building GA-945GCM-S2L with 64-bit: src/arch/x86/idt.S:216: Warning: no instruction mnemonic suffix given and no register operands; using default for `iret' Change-Id: Ibbc106714e25293951a71d84fea0a660f41f9c02 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/61336 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/idt.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/idt.S b/src/arch/x86/idt.S
index d763b9e3fe..99d6e95ec5 100644
--- a/src/arch/x86/idt.S
+++ b/src/arch/x86/idt.S
@@ -170,6 +170,7 @@ int_hand:
pop %r15
add $16, %rsp /* pop of the vector and error code */
+ iretq
#else
/* At this point, on x86-32, on the stack there is:
* 0(%esp) vector
@@ -211,6 +212,5 @@ int_hand:
popl %edi
addl $8, %esp /* pop of the vector and error code */
-#endif
-
iret
+#endif