mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-14 23:40:48 +00:00
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>
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| alignment_handler.c | ||
| copy_first_unaligned.c | ||
| copy_paste_unaligned_common.c | ||
| copy_paste_unaligned_common.h | ||
| copy_unaligned.c | ||
| Makefile | ||
| paste_last_unaligned.c | ||
| paste_unaligned.c | ||