]> err.no Git - linux-2.6/blobdiff - arch/x86/kernel/entry_64.S
x86: printk kernel version in WARN_ON and other dump_stack users
[linux-2.6] / arch / x86 / kernel / entry_64.S
index f1cacd4897f74892eea1e8c4399b1891c6b523ad..3a058bb16409329f9ee255c57e81ff1cefb8cf2a 100644 (file)
@@ -988,7 +988,7 @@ child_rip:
        movq %rsi, %rdi
        call *%rax
        # exit
-       xorl %edi, %edi
+       mov %eax, %edi
        call do_exit
        CFI_ENDPROC
 ENDPROC(child_rip)