linux_dsm_epyc7002/tools/testing/selftests/powerpc
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
..
alignment selftests/powerpc: Fix to use ucontext_t instead of struct ucontext 2018-02-13 22:44:18 +11:00
benchmarks selftest/powerpc: Add additional option to mmap_bench test 2018-01-21 23:37:43 +11:00
cache_shape
context_switch
copyloops
dscr powerpc updates for 4.15 2017-11-16 12:47:46 -08:00
include
lib
math
mm selftests/powerpc: Add a test of SEGV error behaviour 2018-01-03 16:49:24 +11:00
pmu
primitives
ptrace selftests/powerpc: Fix build errors in powerpc ptrace selftests 2017-12-11 13:03:37 +11:00
scripts
signal
stringloops
switch_endian
syscalls
tm powerpc/selftests: Check endianness on trap in TM 2018-01-22 05:48:37 +11:00
vphn
harness.c
Makefile
utils.c