summaryrefslogtreecommitdiff
path: root/tools/include/linux/string.h
diff options
context:
space:
mode:
authorAndy Lutomirski <luto@kernel.org>2016-09-12 15:05:50 -0700
committerIngo Molnar <mingo@kernel.org>2016-09-13 20:34:15 +0200
commit1ef0199a1a698d82ecd39d11d1daa3f4ab006c75 (patch)
tree5c03bf0b6dfef1e84a9bc78041c30138d4d55024 /tools/include/linux/string.h
parent5a8ff54c260ecfed3de9b8d1272eb87826935df8 (diff)
selftests/x86/sigreturn: Use CX, not AX, as the scratch register
RAX is handled specially in ESPFIX64. Use CX as our scratch register so that, if something goes wrong with RAX handling, we'll notice. Signed-off-by: Andy Lutomirski <luto@kernel.org> Reviewed-by: Borislav Petkov <bp@suse.de> Cc: Borislav Petkov <bp@alien8.de> Cc: Brian Gerst <brgerst@gmail.com> Cc: Denys Vlasenko <dvlasenk@redhat.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Josh Poimboeuf <jpoimboe@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Shuah Khan <shuahkh@osg.samsung.com> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/9ceeb24ea56925586c330dc46306f757ddea9fb5.1473717910.git.luto@kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/include/linux/string.h')
0 files changed, 0 insertions, 0 deletions