1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _ASM_UM_XOR_H 3#define _ASM_UM_XOR_H 4 5#ifdef CONFIG_64BIT 6#undef CONFIG_X86_32 7#else 8#define CONFIG_X86_32 1 9#endif 10 11#include <asm/cpufeature.h> 12#include <../../x86/include/asm/xor.h> 13#include <linux/time-internal.h> 14 15#ifdef CONFIG_UML_TIME_TRAVEL_SUPPORT 16#undef XOR_SELECT_TEMPLATE 17/* pick an arbitrary one - measuring isn't possible with inf-cpu */ 18#define XOR_SELECT_TEMPLATE(x) \ 19 (time_travel_mode == TT_MODE_INFCPU ? &xor_block_8regs : NULL) 20#endif 21 22#endif 23