summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/stacktrace.c?id=29a77bbb0cf2cea41fa46f8fa176f6cb1e3182c4
diff options
context:
space:
mode:
authorJoe Lawrence <joe.lawrence@redhat.com>2019-01-22 10:57:23 -0500
committerMichael Ellerman <mpe@ellerman.id.au>2019-01-31 16:43:38 +1100
commit29a77bbb0cf2cea41fa46f8fa176f6cb1e3182c4 (patch)
tree3b2a3eaf32d5be73e73d095ca4a9263cb4d69de7 /arch/powerpc/kernel/stacktrace.c?id=29a77bbb0cf2cea41fa46f8fa176f6cb1e3182c4
parent18be37603de81674e41a0b0282326a0debc1696e (diff)
powerpc/livepatch: small cleanups in save_stack_trace_tsk_reliable()
Mostly cosmetic changes: - Group common stack pointer code at the top - Simplify the first frame logic - Code stackframe iteration into for...loop construct - Check for trace->nr_entries overflow before adding any into the array Suggested-by: Nicolai Stange <nstange@suse.de> Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/stacktrace.c?id=29a77bbb0cf2cea41fa46f8fa176f6cb1e3182c4')
0 files changed, 0 insertions, 0 deletions