xor.h 454 B

12345678910111213141516171819202122
  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. extern struct xor_block_template xor_block_xc;
  11. #undef XOR_TRY_TEMPLATES
  12. #define XOR_TRY_TEMPLATES \
  13. do { \
  14. xor_speed(&xor_block_xc); \
  15. } while (0)
  16. #define XOR_SELECT_TEMPLATE(FASTEST) (&xor_block_xc)
  17. #endif /* _ASM_S390_XOR_H */