diff options
-rw-r--r-- | sys/amd64/ia32/ia32_exception.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/amd64/ia32/ia32_exception.S b/sys/amd64/ia32/ia32_exception.S index 6b57be9..052678a 100644 --- a/sys/amd64/ia32/ia32_exception.S +++ b/sys/amd64/ia32/ia32_exception.S @@ -63,5 +63,7 @@ IDTVEC(int0x80_syscall) movq %r13,TF_R13(%rsp) movq %r14,TF_R14(%rsp) movq %r15,TF_R15(%rsp) + FAKE_MCOUNT(TF_RIP(%rsp)) call ia32_syscall + MEXITCOUNT jmp doreti |