From 32f395140a653e5c7e3e114faeb7314e223f0eea Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 24 May 2024 20:35:31 -0400 Subject: kernel: vm: Make pmap_create_vas() return int Signed-off-by: Ian Moffett --- sys/include/vm/pmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/include/vm') diff --git a/sys/include/vm/pmap.h b/sys/include/vm/pmap.h index faad0fb..8c69372 100644 --- a/sys/include/vm/pmap.h +++ b/sys/include/vm/pmap.h @@ -70,7 +70,7 @@ struct vm_ctx { * Create a virtual address space * and return the descriptor. */ -struct vas pmap_create_vas(struct vm_ctx *); +int pmap_create_vas(struct vm_ctx *, struct vas *); /* * Switch the current virtual address space -- cgit v1.2.3