summaryrefslogtreecommitdiff
path: root/arch/um/kernel/maccess.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/kernel/maccess.c')
-rw-r--r--arch/um/kernel/maccess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/kernel/maccess.c b/arch/um/kernel/maccess.c
index e929c0966696..8ccd56813f68 100644
--- a/arch/um/kernel/maccess.c
+++ b/arch/um/kernel/maccess.c
@@ -7,7 +7,7 @@
#include <linux/kernel.h>
#include <os.h>
-bool probe_kernel_read_allowed(const void *src, size_t size)
+bool copy_from_kernel_nofault_allowed(const void *src, size_t size)
{
void *psrc = (void *)rounddown((unsigned long)src, PAGE_SIZE);