]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
mm/sl[aou]b: Move common kmem_cache_size() to slab.h
authorEzequiel Garcia <elezegarcia@gmail.com>
Fri, 19 Oct 2012 12:33:12 +0000 (09:33 -0300)
committerPekka Enberg <penberg@kernel.org>
Wed, 31 Oct 2012 06:52:15 +0000 (08:52 +0200)
commit242860a47a75b933a79a30f6a40bf4858f4a3ecc
tree2c6c098274ea1a335ecc9292551eda693ccbead5
parentfe74fe2bf293d061826f0d7afc2ca8456bdbb40e
mm/sl[aou]b: Move common kmem_cache_size() to slab.h

This function is identically defined in all three allocators
and it's trivial to move it to slab.h

Since now it's static, inline, header-defined function
this patch also drops the EXPORT_SYMBOL tag.

Cc: Pekka Enberg <penberg@kernel.org>
Cc: Matt Mackall <mpm@selenic.com>
Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
include/linux/slab.h
mm/slab.c
mm/slob.c
mm/slub.c