aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_map.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-02-29 13:23:55 -0500
committerIan Moffett <ian@osmora.org>2024-02-29 13:23:55 -0500
commit1805ea2e59d90e0d14636fbac362af4e6f924d85 (patch)
treee82c1d1c02273d912c6b970daf3844d732d12e29 /sys/vm/vm_map.c
parent60e0827762b4cfff1a04d1287139fb23f521ff86 (diff)
kernel: vm: vm_get_bsp_ctx() -> vm_get_ctx()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/vm/vm_map.c')
-rw-r--r--sys/vm/vm_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
index 0002dde..b3c89ab 100644
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -81,11 +81,11 @@ vm_map_create(vaddr_t va, paddr_t pa, vm_prot_t prot, size_t bytes)
int s;
/*
- * TODO: This needs to be changed, once vm_get_bsp_ctx()
+ * TODO: This needs to be changed, once vm_get_ctx()
* is no longer used, we'll need to fetch it from
* the current process!
*/
- struct vm_ctx *ctx = vm_get_bsp_ctx();
+ struct vm_ctx *ctx = vm_get_ctx();
/* We want bytes to be aligned by the granule */
bytes = __ALIGN_UP(bytes, granule);