sst-linux/arch/um
Benjamin Berg b0686d0d76 um: remove copy_from_kernel_nofault_allowed
[ Upstream commit 84a6fc378471fbeaf48f8604566a5a33a3d63c18 ]

There is no need to override the default version of this function
anymore as UML now has proper _nofault memory access functions.

Doing this also fixes the fact that the implementation was incorrect as
using mincore() will incorrectly flag pages as inaccessible if they were
swapped out by the host.

Fixes: f75b1b1bed ("um: Implement probe_kernel_read()")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://patch.msgid.link/20250210160926.420133-3-benjamin@sipsolutions.net
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-04-10 14:33:36 +02:00
..
configs um: Fix hostaudio build errors 2023-09-13 09:42:58 +02:00
drivers um: vector: Do not use drvdata in release 2024-12-14 19:54:03 +01:00
include um: remove copy_from_kernel_nofault_allowed 2025-04-10 14:33:36 +02:00
kernel um: remove copy_from_kernel_nofault_allowed 2025-04-10 14:33:36 +02:00
os-Linux um: remove copy_from_kernel_nofault_allowed 2025-04-10 14:33:36 +02:00
scripts
.gitignore
Kbuild
Kconfig um/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 20:03:47 +02:00
Kconfig.debug
Makefile um: Fix adding '-no-pie' for clang 2024-02-23 09:12:38 +01:00
Makefile-os-Linux
Makefile-skas