x86/xen: Fix a stale __get_user() reference in a comment
Changes
1 files changed · +3 −3
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| arch/x86/xen/enlighten_pv.c | modified | +3 | −3 | View file |
arch/x86/xen/enlighten_pv.c
View filediff --git a/arch/x86/xen/enlighten_pv.c b/arch/x86/xen/enlighten_pv.c
index 2c64b38..c5117a7 100644
--- a/arch/x86/xen/enlighten_pv.c
+++ b/arch/x86/xen/enlighten_pv.c
@@ -475,9 +475,9 @@ static void set_aliased_prot(void *v, pgprot_t prot)
* have the same nominal mm, but if we're a kernel thread, lazy
* mm dropping could change our pgd.
*
- * Out of an abundance of caution, this uses __get_user() to fault
- * in the target address just in case there's some obscure case
- * in which the target address isn't readable.
+ * Out of an abundance of caution, this uses copy_from_kernel_nofault()
+ * to fault in the target address just in case there's some obscure
+ * case in which the target address isn't readable.
*/
preempt_disable();