We need to save rax across the IRQ exit tracing, as it carries
information about how to return from interrupt.

Jan


---
 arch/x86_64/kernel/entry.S |    2 ++
 1 file changed, 2 insertions(+)

Index: linux-2.6.23.12-xeno_64/arch/x86_64/kernel/entry.S
===================================================================
--- linux-2.6.23.12-xeno_64.orig/arch/x86_64/kernel/entry.S
+++ linux-2.6.23.12-xeno_64/arch/x86_64/kernel/entry.S
@@ -567,10 +567,12 @@ END(stub_rt_sigreturn)
 
 	popq %rbp
 	pushq %rbp
+	pushq %rax
 	movq 8-ARGOFFSET+ORIG_RAX(%rbp), %rdi
 	leaq 8-ARGOFFSET+RIP-8(%rbp), %rbp
 	notq %rdi
 	call ipipe_trace_end
+	popq %rax
 	popq %rbp
 	pushq %rbp
 #else


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Adeos-main mailing list
[email protected]
https://mail.gna.org/listinfo/adeos-main

Reply via email to