diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2021-02-05 04:09:19 -0500 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2021-02-05 18:43:47 +0000 |
commit | abd4737f67d75563d1d0cc57bd5daab026e8c2d1 (patch) | |
tree | e8f38a0cc9300200c1e86f8f9d8e4a0c6aeb7918 | |
parent | d9f1b52afa4012974b3c726ca89ae311f194e83f (diff) | |
download | linux-abd4737f67d75563d1d0cc57bd5daab026e8c2d1.tar.gz linux-abd4737f67d75563d1d0cc57bd5daab026e8c2d1.tar.bz2 linux-abd4737f67d75563d1d0cc57bd5daab026e8c2d1.zip |
mm/arm64: Correct obsolete comment in do_page_fault()
commit d8ed45c5dcd4 ("mmap locking API: use coccinelle to convert mmap_sem
rwsem call sites") has convertd down_read_trylock() to mmap_read_trylock().
But it forgot to update the relevant comment.
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Link: https://lore.kernel.org/r/20210205090919.63382-1-linmiaohe@huawei.com
Signed-off-by: Will Deacon <will@kernel.org>
-rw-r--r-- | arch/arm64/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/mm/fault.c b/arch/arm64/mm/fault.c index 3c40da479899..86a3877ea86f 100644 --- a/arch/arm64/mm/fault.c +++ b/arch/arm64/mm/fault.c @@ -564,7 +564,7 @@ retry: mmap_read_lock(mm); } else { /* - * The above down_read_trylock() might have succeeded in which + * The above mmap_read_trylock() might have succeeded in which * case, we'll have missed the might_sleep() from down_read(). */ might_sleep(); |