summaryrefslogtreecommitdiff
path: root/src/kernel/arch/generic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/generic.h')
-rw-r--r--src/kernel/arch/generic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/generic.h b/src/kernel/arch/generic.h
index d1ff292..941bfa4 100644
--- a/src/kernel/arch/generic.h
+++ b/src/kernel/arch/generic.h
@@ -30,7 +30,7 @@ struct pagedir *pagedir_new(void);
struct pagedir *pagedir_copy(const struct pagedir *orig);
void pagedir_free(struct pagedir *);
-void *pagedir_unmap(struct pagedir *dir, void __user *virt);
+void pagedir_unmap_user(struct pagedir *dir, void __user *virt, size_t len);
void pagedir_map(struct pagedir *dir, void __user *virt, void *phys,
bool user, bool writeable);
bool pagedir_iskern(struct pagedir *, const void __user *virt);