Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: GPL-2.0
2
3config XOR_BLOCKS
4 tristate
5
6# selected by architectures that provide an optimized XOR implementation
7config XOR_BLOCKS_ARCH
8 depends on XOR_BLOCKS
9 default y if ALPHA
10 default y if ARM
11 default y if ARM64
12 default y if CPU_HAS_LSX # loongarch
13 default y if ALTIVEC # powerpc
14 default y if RISCV_ISA_V
15 default y if SPARC
16 default y if S390
17 default y if X86_32
18 default y if X86_64
19 bool
20
21config XOR_KUNIT_TEST
22 tristate "KUnit tests for xor_gen" if !KUNIT_ALL_TESTS
23 depends on KUNIT
24 depends on XOR_BLOCKS
25 default KUNIT_ALL_TESTS
26 help
27 Unit tests for the XOR library functions.
28
29 This is intended to help people writing architecture-specific
30 optimized versions. If unsure, say N.