Harish
ecdf06e1ea
selftests/powerpc: Fix to use ucontext_t instead of struct ucontext
...
With glibc 2.26 'struct ucontext' is removed to improve POSIX
compliance, which breaks powerpc/alignment_handler selftest. Fix the
test by using ucontext_t. Tested on ppc, works with older glibc
versions as well.
Fixes the following:
alignment_handler.c: In function ‘sighandler’:
alignment_handler.c:68:5: error: dereferencing pointer to incomplete type ‘struct ucontext’
ucp->uc_mcontext.gp_regs[PT_NIP] += 4;
Signed-off-by: Harish <harish@linux.vnet.ibm.com >
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au >
2018-02-13 22:44:18 +11:00
..
2017-11-15 08:07:53 -07:00
2018-02-01 07:43:56 -08:00
2017-11-15 08:01:43 -07:00
2017-11-02 11:10:55 +01:00
2017-11-15 08:01:43 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-15 08:01:42 -07:00
2017-11-02 11:10:55 +01:00
2017-11-29 11:22:49 +01:00
2018-01-16 09:29:33 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-08-18 15:32:01 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-01-12 11:46:56 -07:00
2018-02-05 21:35:38 +01:00
2018-01-31 17:18:39 -08:00
2017-11-15 08:01:43 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-01-07 21:29:41 -05:00
2017-11-02 11:10:55 +01:00
2018-01-12 11:41:33 -07:00
2018-01-28 22:17:24 -05:00
2018-02-13 22:44:18 +11:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-01-04 14:57:10 +01:00
2017-11-02 11:10:55 +01:00
2017-12-11 09:18:29 -08:00
2018-01-10 08:22:39 -07:00
2017-11-02 11:10:55 +01:00
2017-06-14 18:23:27 -06:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-08-07 15:13:36 -06:00
2017-11-04 09:26:51 +09:00
2017-11-15 08:01:42 -07:00
2017-11-02 11:10:55 +01:00
2017-11-15 08:01:43 -07:00
2018-02-03 13:01:19 -08:00
2017-11-02 11:10:55 +01:00
2018-02-03 13:01:19 -08:00
2017-11-02 11:10:55 +01:00
2018-01-12 11:44:31 -07:00
2017-09-05 19:21:33 -06:00
2018-01-12 11:45:05 -07:00
2018-01-12 11:46:21 -07:00
2018-01-16 09:31:31 -07:00
2018-01-16 09:31:31 -07:00