cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

xor.h (454B)


      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
     11extern struct xor_block_template xor_block_xc;
     12
     13#undef XOR_TRY_TEMPLATES
     14#define XOR_TRY_TEMPLATES				\
     15do {							\
     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 */