]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - arch/x86/include/asm/uaccess_32.h
Merge branch '4.0.8-rt6'
[zynq/linux.git] / arch / x86 / include / asm / uaccess_32.h
index 3c03a5de64d30c01c1408953bf75c4970f54bcb1..7c8ad3451988811787a7f7b26a5e1822288a00f9 100644 (file)
@@ -70,7 +70,8 @@ __copy_to_user_inatomic(void __user *to, const void *from, unsigned long n)
  * @from: Source address, in kernel space.
  * @n:    Number of bytes to copy.
  *
- * Context: User context only.  This function may sleep.
+ * Context: User context only. This function may sleep if pagefaults are
+ *          enabled.
  *
  * Copy data from kernel space to user space.  Caller must check
  * 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)
  * @from: Source address, in user space.
  * @n:    Number of bytes to copy.
  *
- * Context: User context only.  This function may sleep.
+ * Context: User context only. This function may sleep if pagefaults are
+ *          enabled.
  *
  * Copy data from user space to kernel space.  Caller must check
  * the specified block with access_ok() before calling this function.