slab: Fix build failure in __kmem_cache_create()
authorTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Sun, 30 Sep 2012 08:28:25 +0000 (17:28 +0900)
committerPekka Enberg <penberg@kernel.org>
Wed, 3 Oct 2012 06:53:34 +0000 (09:53 +0300)
commit608da7e3fc7259eca0d983b31bc8915af14cf15e
tree16ee40aa4a503edb45af10b6aedb7cb1d7a5cd5c
parent788e1aadadd0d5a9cbffce10c34840b4072bc733
slab: Fix build failure in __kmem_cache_create()

Fix build failure with CONFIG_DEBUG_SLAB=y && CONFIG_DEBUG_PAGEALLOC=y caused
by commit 8a13a4cc "mm/sl[aou]b: Shrink __kmem_cache_create() parameter lists".

mm/slab.c: In function '__kmem_cache_create':
mm/slab.c:2474: error: 'align' undeclared (first use in this function)
mm/slab.c:2474: error: (Each undeclared identifier is reported only once
mm/slab.c:2474: error: for each function it appears in.)
make[1]: *** [mm/slab.o] Error 1
make: *** [mm] Error 2

Acked-by: Christoph Lameter <cl@linux.com>
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
mm/slab.c