]> xenbits.xensource.com Git - mini-os.git/commitdiff
[Mini-OS] Permit x86_64 trap handlers to return
authorKeir Fraser <keir.fraser@citrix.com>
Sat, 24 Nov 2007 13:31:01 +0000 (13:31 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Sat, 24 Nov 2007 13:31:01 +0000 (13:31 +0000)
Trap handlers sometimes fix the problem, so they need to be able to
return.

Signed-off-by: Samuel Thibault <samuel.thibault@citrix.com>
arch/x86/x86_64.S

index 55b17da5f717aaaab41ac22b8c1645963be41d03..815dca36adde105e687a1da08d100bf273fcebdb 100644 (file)
@@ -193,6 +193,7 @@ error_call_handler:
        movq ORIG_RAX(%rsp),%rsi        # get error code 
        movq $-1,ORIG_RAX(%rsp)
        call *%rax
+       jmp error_exit
 
 .macro zeroentry sym
 #      INTR_FRAME