author: Thomas Gleixner <tglx@linutronix.de> 2021-09-23 18:54:38 +0200
committer: Minda Chen <minda.chen@starfivetech.com> 2023-11-06 19:24:42 +0800
commit: 0513f0c43af4c9a95c72f810fc388b41a8cc2713
parent: 6048de7a52451bf930f020b1b698272948091254
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/mm/memory.c b/mm/memory.c
index c52be6d6b605..e2c623027e32 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -5265,7 +5265,7 @@ void __might_fault(const char *file, int line)
return;
if (pagefault_disabled())
return;
- __might_sleep(file, line, 0);
+ __might_sleep(file, line);
#if defined(CONFIG_DEBUG_ATOMIC_SLEEP)
if (current->mm)
might_lock_read(¤t->mm->mmap_lock);