Merge tag 'sched-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux/fpc-iii.git] / arch / powerpc / lib / xor_vmx.h
blob5c2b0839b1794018bd05b66c4ab31f79c84addd2
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Simple interface to link xor_vmx.c and xor_vmx_glue.c
5 * Separating these file ensures that no altivec instructions are run
6 * outside of the enable/disable altivec block.
7 */
9 void __xor_altivec_2(unsigned long bytes, unsigned long *v1_in,
10 unsigned long *v2_in);
12 void __xor_altivec_3(unsigned long bytes, unsigned long *v1_in,
13 unsigned long *v2_in, unsigned long *v3_in);
15 void __xor_altivec_4(unsigned long bytes, unsigned long *v1_in,
16 unsigned long *v2_in, unsigned long *v3_in,
17 unsigned long *v4_in);
19 void __xor_altivec_5(unsigned long bytes, unsigned long *v1_in,
20 unsigned long *v2_in, unsigned long *v3_in,
21 unsigned long *v4_in, unsigned long *v5_in);