summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mm/blackfin_sram.h
diff options
context:
space:
mode:
authorHimangi Saraogi <himangi774@gmail.com>2014-07-22 23:40:19 +0530
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2014-08-13 15:14:04 +1000
commitd6589722846a57a4ddf7af595a7f854ff5180950 (patch)
tree05db4975ccd1af28b3c3e63638112a41594be60f /arch/blackfin/mm/blackfin_sram.h
parent587870e8650a0571e895cc879cd895c78c6391bf (diff)
downloadblackbird-op-linux-d6589722846a57a4ddf7af595a7f854ff5180950.tar.gz
blackbird-op-linux-d6589722846a57a4ddf7af595a7f854ff5180950.zip
powerpc/perf/hv-24x7: Use kmem_cache_free
Free memory allocated using kmem_cache_zalloc using kmem_cache_free rather than kfree. The Coccinelle semantic patch that makes this change is as follows: // <smpl> @@ expression x,E,c; @@ x = \(kmem_cache_alloc\|kmem_cache_zalloc\|kmem_cache_alloc_node\)(c,...) ... when != x = E when != &x ?-kfree(x) +kmem_cache_free(c,x) // </smpl> Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/blackfin/mm/blackfin_sram.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud