xref: /openbmc/linux/arch/s390/include/asm/xor.h (revision 8571e645)
1 /*
2  * Optimited xor routines
3  *
4  * Copyright IBM Corp. 2016
5  * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com>
6  */
7 #ifndef _ASM_S390_XOR_H
8 #define _ASM_S390_XOR_H
9 
10 extern struct xor_block_template xor_block_xc;
11 
12 #undef XOR_TRY_TEMPLATES
13 #define XOR_TRY_TEMPLATES				\
14 do {							\
15 	xor_speed(&xor_block_xc);			\
16 } while (0)
17 
18 #define XOR_SELECT_TEMPLATE(FASTEST)	(&xor_block_xc)
19 
20 #endif /* _ASM_S390_XOR_H */
21