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