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)
commit069e2b351de67e7a837b15b3d26c65c19b790cc3
tree136808eeef17f3c81f634f485ea1fb79b85763a8
parentd0d04b78f403b0bcfe03315e16b50d196610720d
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