Joe Lawrence 29a77bbb0c 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>
2019-01-31 16:43:38 +11:00
..
2018-12-27 10:43:24 -08:00
2018-10-26 14:36:21 -07:00
2018-07-30 22:47:53 +10:00
2018-12-28 14:12:21 -08:00
2018-12-20 22:21:20 +11:00
2019-01-01 15:55:29 -08:00
2018-12-27 10:43:24 -08:00
2018-08-13 15:59:06 +10:00
2019-01-01 15:55:29 -08:00
2019-01-14 20:39:27 +11:00
2017-12-11 13:03:35 +11:00
2018-08-17 11:32:50 -07:00
2018-06-07 10:23:33 -07:00
2018-10-09 16:51:05 +11:00
2018-05-25 12:04:46 +10:00