aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/memory.c')
-rw-r--r--mm/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c
index 235ba51b2fbf..6ff5d729ded0 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -4298,7 +4298,7 @@ void __might_fault(const char *file, int line)
4298 * get paged out, therefore we'll never actually fault, and the 4298 * get paged out, therefore we'll never actually fault, and the
4299 * below annotations will generate false positives. 4299 * below annotations will generate false positives.
4300 */ 4300 */
4301 if (segment_eq(get_fs(), KERNEL_DS)) 4301 if (uaccess_kernel())
4302 return; 4302 return;
4303 if (pagefault_disabled()) 4303 if (pagefault_disabled())
4304 return; 4304 return;