summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorHarish <harish@linux.vnet.ibm.com>2018-02-13 12:02:55 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2018-02-13 22:44:18 +1100
commitecdf06e1ea5376bba03c155751f6869d3dfaa210 (patch)
tree12b7d9b986e3417c8158e93914aa7fb967482eaf /drivers/crypto
parent910961754572a2f4c83ad7e610d180e3e6c29bda (diff)
downloadlinux-ecdf06e1ea5376bba03c155751f6869d3dfaa210.tar.gz
linux-ecdf06e1ea5376bba03c155751f6869d3dfaa210.tar.bz2
linux-ecdf06e1ea5376bba03c155751f6869d3dfaa210.zip
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>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions