slab: fix DEBUG_SLAB warning
authorTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Thu, 21 Jul 2011 00:42:45 +0000 (09:42 +0900)
committerPekka Enberg <penberg@kernel.org>
Fri, 22 Jul 2011 08:01:03 +0000 (11:01 +0300)
commit7ea466f2256b02a7047dfd47d76a2f6c1e427e3e
treefbe47a3e126d3f20b0eb4785eaaced80e95b987e
parentb56efcf0a45aa7fc32de90d5f9838541082fbc19
slab: fix DEBUG_SLAB warning

In commit c225150b "slab: fix DEBUG_SLAB build",
"if ((unsigned long)objp & (ARCH_SLAB_MINALIGN-1))" is always true if
ARCH_SLAB_MINALIGN == 0. Do not print warning if ARCH_SLAB_MINALIGN == 0.

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