linux/arch/um
Benjamin Beichler b257272f54 um: fix and optimize xor select template for CONFIG64 and timetravel mode
[ Upstream commit e3a33af812 ]

Due to dropped inclusion of asm-generic/xor.h, xor_block_8regs symbol is
missing with CONFIG64 and break compilation, as the asm/xor_64.h also did
not include it. The patch recreate the logic from arch/x86, which check
whether AVX is available and add fallbacks for 32bit and 64bit config of
um.

A very minor additional "fix" is, the return of the macro parameter
instead of NULL, as this is the original intent of the macro, but
this does not change the actual behavior.

Fixes: c0ecca6604 ("um: enable the use of optimized xor routines in UML")
Signed-off-by: Benjamin Beichler <benjamin.beichler@uni-rostock.de>
Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-13 20:58:59 +02:00
..
configs kunit: Move default config from arch/um -> tools/testing/kunit 2021-06-23 17:49:17 -06:00
drivers um: Fix uml_mconsole stop/go 2022-04-08 14:24:16 +02:00
include um: fix and optimize xor select template for CONFIG64 and timetravel mode 2022-04-13 20:58:59 +02:00
kernel um: rename set_signals() to um_set_signals() 2022-01-27 11:03:44 +01:00
os-Linux um: registers: Rename function names to avoid conflicts and build problems 2022-01-27 11:04:48 +01:00
scripts License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
.gitignore um: gitignore: Add kernel/capflags.c 2022-01-27 11:05:34 +01:00
Kbuild kbuild: require all architectures to have arch/$(SRCARCH)/Kbuild 2021-05-26 23:10:37 +09:00
Kconfig This pull request contains the following changes for UML: 2021-09-09 13:45:26 -07:00
Kconfig.debug um: Disable CONFIG_GCOV with MODULES 2021-04-15 23:10:33 +02:00
Makefile kbuild: do not require sub-make for separate output tree builds 2021-08-10 08:23:39 +09:00
Makefile-os-Linux
Makefile-skas