projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dvfs: add virtual temperature control
[firefly-linux-kernel-4.4.55.git]
/
mm
/
percpu.c
diff --git
a/mm/percpu.c
b/mm/percpu.c
index 8c8e08f3a692ecf614fabd537aa9dc4e00f42b21..25e2ea52db82c4cd93f4867636075991ca33d1e4 100644
(file)
--- a/
mm/percpu.c
+++ b/
mm/percpu.c
@@
-612,7
+612,7
@@
static struct pcpu_chunk *pcpu_alloc_chunk(void)
chunk->map = pcpu_mem_zalloc(PCPU_DFL_MAP_ALLOC *
sizeof(chunk->map[0]));
if (!chunk->map) {
-
kfree(chunk
);
+
pcpu_mem_free(chunk, pcpu_chunk_struct_size
);
return NULL;
}