aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/uaccess_32.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/uaccess_32.h')
-rw-r--r--arch/x86/include/asm/uaccess_32.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/include/asm/uaccess_32.h b/arch/x86/include/asm/uaccess_32.h
index 3c03a5de64d3..7c8ad3451988 100644
--- a/arch/x86/include/asm/uaccess_32.h
+++ b/arch/x86/include/asm/uaccess_32.h
@@ -70,7 +70,8 @@ __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n)
70 * @from: Source address, in kernel space. 70 * @from: Source address, in kernel space.
71 * @n: Number of bytes to copy. 71 * @n: Number of bytes to copy.
72 * 72 *
73 * Context: User context only. This function may sleep. 73 * Context: User context only. This function may sleep if pagefaults are
74 * enabled.
74 * 75 *
75 * Copy data from kernel space to user space. Caller must check 76 * Copy data from kernel space to user space. Caller must check
76 * the specified block with access_ok() before calling this function. 77 * the specified block with access_ok() before calling this function.
@@ -117,7 +118,8 @@ __copy_from_user_inatomic(void *to, const void __user *from, unsigned long n)
117 * @from: Source address, in user space. 118 * @from: Source address, in user space.
118 * @n: Number of bytes to copy. 119 * @n: Number of bytes to copy.
119 * 120 *
120 * Context: User context only. This function may sleep. 121 * Context: User context only. This function may sleep if pagefaults are
122 * enabled.
121 * 123 *
122 * Copy data from user space to kernel space. Caller must check 124 * Copy data from user space to kernel space. Caller must check
123 * the specified block with access_ok() before calling this function. 125 * the specified block with access_ok() before calling this function.