]> git.baikalelectronics.ru Git - kernel.git/commit
count_partial() is not used if !SLUB_DEBUG and !CONFIG_SLABINFO
authorChristoph Lameter <clameter@sgi.com>
Wed, 19 Mar 2008 20:42:07 +0000 (13:42 -0700)
committerChristoph Lameter <clameter@sgi.com>
Wed, 26 Mar 2008 17:42:28 +0000 (10:42 -0700)
commita3d81cfc02b0ad1f9b4610d2ef80cb3672b2cd38
treeb5f3f6e526b8800491cc9952926e6e46bf623df8
parentde5f5fcfac36c82093fdb7e594181e70675fbdd5
count_partial() is not used if !SLUB_DEBUG and !CONFIG_SLABINFO

Avoid warnings about unused functions if neither SLUB_DEBUG nor CONFIG_SLABINFO
is defined. This patch will be reversed when slab defrag is merged since slab
defrag requires count_partial() to determine the fragmentation status of
slab caches.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
mm/slub.c