diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2017-04-12 13:47:10 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-04-14 10:19:49 +0200 |
commit | 5ed8d8bb38c5dcd78de540182cedb0fb19399aab (patch) | |
tree | 8a8fa0f779e57d4e7b35f918062268d2c6c893a1 /crypto/af_alg.c | |
parent | b5effd3815ccbe3df1a015a6d67d8a24a27813d5 (diff) | |
download | lwn-5ed8d8bb38c5dcd78de540182cedb0fb19399aab.tar.gz lwn-5ed8d8bb38c5dcd78de540182cedb0fb19399aab.zip |
x86/unwind: Move common code into update_stack_state()
The __unwind_start() and unwind_next_frame() functions have some
duplicated functionality. They both call decode_frame_pointer() and set
state->regs and state->bp accordingly. Move that functionality to a
common place in update_stack_state().
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Dave Jones <davej@codemonkey.org.uk>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/a2ee4801113f6d2300d58f08f6b69f85edf4eb43.1492020577.git.jpoimboe@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'crypto/af_alg.c')
0 files changed, 0 insertions, 0 deletions