diff options
author | Andrey Mirkin <major@openvz.org> | 2007-10-17 18:04:33 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@inhelltoy.tec.linutronix.de> | 2007-10-17 20:15:29 +0200 |
commit | 1c5b5cfd290b6cb7c67020ef420e275f746a7236 (patch) | |
tree | 952d52bb9ea667c068e3c809b71911ae6d2bec98 /arch/avr32 | |
parent | aa506dc7b12d03fbf8fd11aab752aed1aadd9c07 (diff) |
x86: return correct error code from child_rip in x86_64 entry.S
Right now register edi is just cleared before calling do_exit.
That is wrong because correct return value will be ignored.
Value from rax should be copied to rdi instead of clearing edi.
AK: changed to 32bit move because it's strictly an int
[ tglx: arch/x86 adaptation ]
Signed-off-by: Andrey Mirkin <major@openvz.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/avr32')
0 files changed, 0 insertions, 0 deletions