summaryrefslogtreecommitdiff
path: root/nuttx/binfmt
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-08-31 16:15:11 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-08-31 16:15:11 -0600
commitfafba1669d8d4e158fc73442fde971670caf17dd (patch)
tree720999b8c8bf701ded85d2d5400196d04684aa86 /nuttx/binfmt
parent81baf55fd8f4e860516cdfbaa5db2d74b5289bfd (diff)
downloadnuttx-fafba1669d8d4e158fc73442fde971670caf17dd.tar.gz
nuttx-fafba1669d8d4e158fc73442fde971670caf17dd.tar.bz2
nuttx-fafba1669d8d4e158fc73442fde971670caf17dd.zip
Rename kufree to kumm_free for consistency with other naming
Diffstat (limited to 'nuttx/binfmt')
-rw-r--r--nuttx/binfmt/binfmt_execmodule.c2
-rw-r--r--nuttx/binfmt/binfmt_unloadmodule.c2
-rw-r--r--nuttx/binfmt/libelf/libelf_addrenv.c2
-rw-r--r--nuttx/binfmt/libelf/libelf_unload.c4
-rw-r--r--nuttx/binfmt/libnxflat/libnxflat_addrenv.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/nuttx/binfmt/binfmt_execmodule.c b/nuttx/binfmt/binfmt_execmodule.c
index 00637d45c..c9e16818e 100644
--- a/nuttx/binfmt/binfmt_execmodule.c
+++ b/nuttx/binfmt/binfmt_execmodule.c
@@ -250,7 +250,7 @@ errout_with_stack:
#ifndef CONFIG_CUSTOM_STACK
tcb->cmn.stack_alloc_ptr = NULL;
sched_releasetcb(&tcb->cmn, TCB_FLAG_TTYPE_TASK);
- kufree(stack);
+ kumm_free(stack);
#else
sched_releasetcb(&tcb->cmn, TCB_FLAG_TTYPE_TASK);
#endif
diff --git a/nuttx/binfmt/binfmt_unloadmodule.c b/nuttx/binfmt/binfmt_unloadmodule.c
index 20de9d50a..067e72796 100644
--- a/nuttx/binfmt/binfmt_unloadmodule.c
+++ b/nuttx/binfmt/binfmt_unloadmodule.c
@@ -195,7 +195,7 @@ int unload_module(FAR struct binary_s *binp)
if (binp->alloc[i])
{
bvdbg("Freeing alloc[%d]: %p\n", i, binp->alloc[i]);
- kufree((FAR void *)binp->alloc[i]);
+ kumm_free((FAR void *)binp->alloc[i]);
}
}
diff --git a/nuttx/binfmt/libelf/libelf_addrenv.c b/nuttx/binfmt/libelf/libelf_addrenv.c
index a67070fd1..66479bf42 100644
--- a/nuttx/binfmt/libelf/libelf_addrenv.c
+++ b/nuttx/binfmt/libelf/libelf_addrenv.c
@@ -175,7 +175,7 @@ void elf_addrenv_free(FAR struct elf_loadinfo_s *loadinfo)
if (loadinfo->textalloc != 0)
{
- kufree((FAR void *)loadinfo->textalloc);
+ kumm_free((FAR void *)loadinfo->textalloc);
}
#endif
diff --git a/nuttx/binfmt/libelf/libelf_unload.c b/nuttx/binfmt/libelf/libelf_unload.c
index eadc24b15..28767e412 100644
--- a/nuttx/binfmt/libelf/libelf_unload.c
+++ b/nuttx/binfmt/libelf/libelf_unload.c
@@ -92,7 +92,7 @@ int elf_unload(struct elf_loadinfo_s *loadinfo)
#ifdef CONFIG_BINFMT_CONSTRUCTORS
if (loadinfo->ctoralloc != 0)
{
- kufree(loadinfo->ctoralloc);
+ kumm_free(loadinfo->ctoralloc);
loadinfo->ctoralloc = NULL;
}
@@ -101,7 +101,7 @@ int elf_unload(struct elf_loadinfo_s *loadinfo)
if (loadinfo->dtoralloc != 0)
{
- kufree(loadinfo->dtoralloc);
+ kumm_free(loadinfo->dtoralloc);
loadinfo->dtoralloc = NULL;
}
diff --git a/nuttx/binfmt/libnxflat/libnxflat_addrenv.c b/nuttx/binfmt/libnxflat/libnxflat_addrenv.c
index 86c50d7a2..1690d0ae0 100644
--- a/nuttx/binfmt/libnxflat/libnxflat_addrenv.c
+++ b/nuttx/binfmt/libnxflat/libnxflat_addrenv.c
@@ -220,7 +220,7 @@ void nxflat_addrenv_free(FAR struct nxflat_loadinfo_s *loadinfo)
if (dspace->region)
{
- kufree(dspace->region);
+ kumm_free(dspace->region);
}
#endif