Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LoongArch: Replace kmap_atomic() with kmap_local_page() in copy_user_…
…highpage() Replace kmap_atomic()/kunmap_atomic() calls with kmap_local_page()/ kunmap_local() in copy_user_highpage() which can be invoked from both preemptible and atomic context [1]. [1] https://lore.kernel.org/all/20201029222652.302358281@linutronix.de/ Suggested-by: Deepak R Varma <drv@mailo.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
- Loading branch information