summaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorJosh Poimboeuf <jpoimboe@redhat.com>2017-09-18 22:42:11 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2017-09-20 12:42:38 +0300
commit8f182f845d0fa26ecc18d3bdcc3d1077a0ea3a31 (patch)
treed8161aeaa48bc2f93de4eee69cfa9d535fbf5f18 /tools/lib/api/debug.c
parentca04c823763e5b82c237cabe0c17f547ecdc6271 (diff)
downloadlinux-8f182f845d0fa26ecc18d3bdcc3d1077a0ea3a31.tar.xz
crypto: x86/twofish - Fix RBP usage
Using RBP as a temporary register breaks frame pointer convention and breaks stack traces when unwinding from an interrupt in the crypto code. Use R13 instead of RBP. Both are callee-saved registers, so the substitution is straightforward. Reported-by: Eric Biggers <ebiggers@google.com> Reported-by: Peter Zijlstra <peterz@infradead.org> Tested-by: Eric Biggers <ebiggers@google.com> Acked-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions