aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include/asm/xor.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/asm/xor.h')
-rw-r--r--arch/um/include/asm/xor.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/um/include/asm/xor.h b/arch/um/include/asm/xor.h
new file mode 100644
index 000000000000..7a3208c47cfc
--- /dev/null
+++ b/arch/um/include/asm/xor.h
@@ -0,0 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#include <asm-generic/xor.h>
+#include <shared/timer-internal.h>
+
+/* pick an arbitrary one - measuring isn't possible with inf-cpu */
+#define XOR_SELECT_TEMPLATE(x) \
+ (time_travel_mode == TT_MODE_INFCPU ? &xor_block_8regs : NULL)