Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  * Optimited xor routines
0004  *
0005  * Copyright IBM Corp. 2016
0006  * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com>
0007  */
0008 #ifndef _ASM_S390_XOR_H
0009 #define _ASM_S390_XOR_H
0010 
0011 extern struct xor_block_template xor_block_xc;
0012 
0013 #undef XOR_TRY_TEMPLATES
0014 #define XOR_TRY_TEMPLATES               \
0015 do {                            \
0016     xor_speed(&xor_block_xc);           \
0017 } while (0)
0018 
0019 #define XOR_SELECT_TEMPLATE(FASTEST)    (&xor_block_xc)
0020 
0021 #endif /* _ASM_S390_XOR_H */