ptos/amd64: frame: Always iretq in INTR_EXIT()

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
2026-07-14 22:11:18 +00:00
parent 1eed5f511d
commit 66f0d0f469
+2 -2
View File
@@ -85,11 +85,11 @@
* pushed onto the stack. * pushed onto the stack.
*/ */
#define INTR_EXIT() ;\ #define INTR_EXIT() ;\
_POP_FRAME() ;\ _TRAP_POPALL() ;\
testb $3, 8(%rsp) ;\ testb $3, 8(%rsp) ;\
jz 1f ;\ jz 1f ;\
lfence ;\ lfence ;\
swapgs ;\ swapgs ;\
1: 1: iretq
#endif /* !_MACHINE_FRAMEASM_H_ */ #endif /* !_MACHINE_FRAMEASM_H_ */