]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit636688ac31b0ea1e958fce548fc646979658702b
tree373ef653ad6ea18f7aae0ca9973a5ad17a7b53da
parentf81886e8f121303e0cb71ad15f74e249c364edbf
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