diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2016-01-21 16:49:18 -0600 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-02-24 08:35:42 +0100 |
commit | 68874ac3304ade7ed5ebb12af00d6b9bbbca0a16 (patch) | |
tree | 80821f6357e7a7fa65498ae4b7bcc58a827b30d9 /mm/vmscan.c | |
parent | aec4d0e301f17bb143341c82cc44685b8af0b945 (diff) | |
download | op-kernel-dev-68874ac3304ade7ed5ebb12af00d6b9bbbca0a16.zip op-kernel-dev-68874ac3304ade7ed5ebb12af00d6b9bbbca0a16.tar.gz |
x86/asm/crypto: Don't use RBP as a scratch register
The frame pointer (RBP) is getting clobbered in
sha1_mb_mgr_submit_avx2() before a function call, which can mess up
stack traces. Use R12 instead.
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Bernd Petrovitsch <bernd@petrovitsch.priv.at>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Chris J Arges <chris.j.arges@canonical.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Michal Marek <mmarek@suse.cz>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Pedro Alves <palves@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: live-patching@vger.kernel.org
Link: http://lkml.kernel.org/r/15a3eb7ebe68e37755927915f45e4f0bde4d18c5.1453405861.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions