x86/asm/entry/32: Revert 'Do not use R9 in SYSCALL32' commit
authorDenys Vlasenko <dvlasenk@redhat.com>
Fri, 24 Jul 2015 12:16:43 +0000 (14:16 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 24 Jul 2015 14:36:00 +0000 (16:36 +0200)
commitc0c3322e98029e752526d906d9e3a680ed213c03
tree27c75dca77c0aa214449eb37d72deeb8d3825555
parent8a0a5da6d9cbf1b142115ff6e6b253a82633c3d9
x86/asm/entry/32: Revert 'Do not use R9 in SYSCALL32' commit

This change reverts most of commit 53e9accf0f 'Do not use R9 in
SYSCALL32'. I don't yet understand how, but code in that commit
sometimes fails to preserve EBP.

See https://bugzilla.kernel.org/show_bug.cgi?id=101061
"Problems while executing 32-bit code on AMD64"

Reported-and-tested-by: Krzysztof A. Sobiecki <sobkas@gmail.com>
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Alexei Starovoitov <ast@plumgrid.com>
Cc: Will Drewry <wad@chromium.org>
Cc: Kees Cook <keescook@chromium.org>
CC: x86@kernel.org
Link: http://lkml.kernel.org/r/1437740203-11552-1-git-send-email-dvlasenk@redhat.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/entry/entry_64_compat.S