mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
ecdf06e1ea
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> |
||
---|---|---|
.. | ||
alignment | ||
benchmarks | ||
cache_shape | ||
context_switch | ||
copyloops | ||
dscr | ||
include | ||
lib | ||
math | ||
mm | ||
pmu | ||
primitives | ||
ptrace | ||
scripts | ||
signal | ||
stringloops | ||
switch_endian | ||
syscalls | ||
tm | ||
vphn | ||
harness.c | ||
Makefile | ||
utils.c |