Rename kmalloc to kmm_malloc for consistency

This commit is contained in:
Gregory Nutt
2014-08-31 17:26:36 -06:00
parent 9023221f2b
commit 1780810d3d
111 changed files with 197 additions and 187 deletions

View File

@@ -301,7 +301,7 @@ static int cpuload_dup(FAR const struct file *oldp, FAR struct file *newp)
/* Allocate a new container to hold the task and attribute selection */
newattr = (FAR struct cpuload_file_s *)kmalloc(sizeof(struct cpuload_file_s));
newattr = (FAR struct cpuload_file_s *)kmm_malloc(sizeof(struct cpuload_file_s));
if (!newattr)
{
fdbg("ERROR: Failed to allocate file attributes\n");