diff --git a/service/ptos/head/arch/amd64/frameasm.h b/service/ptos/head/arch/amd64/frameasm.h index d747c77..5ff5d6d 100644 --- a/service/ptos/head/arch/amd64/frameasm.h +++ b/service/ptos/head/arch/amd64/frameasm.h @@ -73,13 +73,12 @@ */ #define INTR_ENTRY(VEC) ;\ cld ;\ - push $0 ;\ - _TRAP_PUSHALL(VEC) ;\ testb $3, 8(%rsp) ;\ jz 1f ;\ lfence ;\ swapgs ;\ -1: +1: push $0 ;\ + _TRAP_PUSHALL(VEC) ;\ /* * Interrupt exit macro used when there is no error code