lib/raid6: Build proper raid6test files on powerpc
authorMatt Brown <matthew.brown.dev@gmail.com>
Fri, 4 Aug 2017 03:42:33 +0000 (13:42 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 20 Mar 2018 05:47:52 +0000 (16:47 +1100)
commitaa9532d4899ff14e50de10d261b761d157cd2ae3
tree373ef653ad6ea18f7aae0ca9973a5ad17a7b53da
parent751ba79cc552c146595cd439b21c4ff8998c3b69
lib/raid6: Build proper raid6test files on powerpc

Previously the raid6 test Makefile did not build the POWER specific files
(altivec and vpermxor).
This patch fixes the bug, so that all appropriate files for powerpc are built.

This patch also fixes the missing and mismatched ifdef statements to allow the
altivec.uc file to be built correctly.

Signed-off-by: Matt Brown <matthew.brown.dev@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
lib/raid6/altivec.uc
lib/raid6/test/Makefile