From 2a2fc4dffe0117ce874a6cf1dcc34321ed8add77 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 25 Jan 2023 01:02:04 +0100 Subject: kernel/virt: replace the virt_cpy api with a more foolproof one --- src/kernel/ring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/ring.h') diff --git a/src/kernel/ring.h b/src/kernel/ring.h index e288cb9..15f4682 100644 --- a/src/kernel/ring.h +++ b/src/kernel/ring.h @@ -3,4 +3,4 @@ #include struct pagedir; -size_t ring_to_virt(ring_t *r, struct pagedir *pages, void __user *ubuf, size_t max); +size_t ring_to_virt(ring_t *r, struct process *proc, void __user *ubuf, size_t max); -- cgit v1.2.3