]> git.baikalelectronics.ru Git - kernel.git/commit
slob: Rework #ifdeffery in slab.h
authorChristoph Lameter <cl@linux.com>
Fri, 14 Jun 2013 19:55:13 +0000 (19:55 +0000)
committerPekka Enberg <penberg@kernel.org>
Tue, 18 Jun 2013 15:34:43 +0000 (18:34 +0300)
commit420b8c700fcc5f0f8b7eee0333c280c099d4ad3d
tree136808eeef17f3c81f634f485ea1fb79b85763a8
parentb1292e252279ecad5e56a506b572d42ac63ef167
slob: Rework #ifdeffery in slab.h

Make the SLOB specific stuff harmonize more with the way the other allocators
do it. Create the typical kmalloc constants for that purpose. SLOB does not
support it but the constants help us avoid #ifdefs.

Signed-off-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
include/linux/slab.h