summaryrefslogtreecommitdiff
path: root/nuttx/libnx
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/libnx')
-rw-r--r--nuttx/libnx/nxcontext.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/libnx/nxcontext.h b/nuttx/libnx/nxcontext.h
index 43dee2593..95fdf7a82 100644
--- a/nuttx/libnx/nxcontext.h
+++ b/nuttx/libnx/nxcontext.h
@@ -68,11 +68,11 @@
/* Domain-specific allocations */
-# define lib_malloc(s) kmalloc(s)
-# define lib_zalloc(s) kzalloc(s)
+# define lib_malloc(s) kmm_malloc(s)
+# define lib_zalloc(s) kmm_zalloc(s)
# define lib_realloc(p,s) kmm_realloc(p,s)
# define lib_memalign(p,s) kmm_memalign(p,s)
-# define lib_free(p) kfree(p)
+# define lib_free(p) kmm_free(p)
/* User-accessible allocations */