summaryrefslogtreecommitdiff
path: root/rust/helpers/uaccess.c
diff options
context:
space:
mode:
Diffstat (limited to 'rust/helpers/uaccess.c')
-rw-r--r--rust/helpers/uaccess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/helpers/uaccess.c b/rust/helpers/uaccess.c
index d9625b9ee046..6e59cc9c665c 100644
--- a/rust/helpers/uaccess.c
+++ b/rust/helpers/uaccess.c
@@ -14,7 +14,7 @@ rust_helper_copy_to_user(void __user *to, const void *from, unsigned long n)
return copy_to_user(to, from, n);
}
-#ifdef INLINE_COPY_FROM_USER
+#ifdef INLINE_COPY_USER
__rust_helper
unsigned long rust_helper__copy_from_user(void *to, const void __user *from, unsigned long n)
{